Hello Tom,
please pull from u-boot-i2c.git master
checked this branch on travis, no errors found.
The following changes since commit 5cf618ee60a752d058a767372ca1ecb8d9c09b16:
Merge git://git.denx.de/u-boot-arc (2017-03-24 08:19:30 -0400)
are available in the git repository at:
This commit adds support for the pin-configuration of the SPI5
controller of the RK3399 through the following changes:
* grf_rk3399.h: adds definition for configuring the SPI5 pins
in the GPIO2C group
* periph.h: defines PERIPH_ID_SPI3 through PERIPH_ID_SPI5
* pinctrl_rk3399.c:
Hi Lukasz,
A kind reminder to look at this patch (already reviewed by Marek).
Thanks in advance for your time
Best Regards
Nicolas
2017-03-21 9:53 GMT+01:00 Nicolas le bayon :
> Hi Lukasz,
>
> Would it be possible to have a look at this patch and review it please?
>
>
Hi Masahiro-san,
On Tue, Mar 28, 2017 at 1:29 AM, Masahiro Yamada
wrote:
[...]
>
> When O= is given, the build system runs in the object tree,
> not in the source tree.
> (This is the same as Linux.)
>
> If you see the top Makefile:
>
> ifeq ($(KBUILD_SRC),)
>
Hi,
Nishanth Menon writes:
> Hi Masahiro-san,
>
> On Tue, Mar 28, 2017 at 1:29 AM, Masahiro Yamada
> wrote:
> [...]
>>
>> When O= is given, the build system runs in the object tree,
>> not in the source tree.
>> (This is the same as Linux.)
>>
>> If
On Tue, Mar 28, 2017 at 6:47 AM, Felipe Balbi
wrote:
>
> have you tried using __BASE_FILE__ instead of __FILE__? You could also
https://gcc.gnu.org/onlinedocs/gcc-4.1.2/cpp/Common-Predefined-Macros.html
__BASE_FILE__This macro expands to the name of the main input
Am Montag, 27. März 2017, 23:16:45 CEST schrieb Alexander Graf:
>
> On 27/03/2017 17:17, Heiko Stuebner wrote:
> > Am Montag, 27. März 2017, 09:14:47 CEST schrieb Alexander Graf:
> >>
> >> On 27/03/2017 01:38, Simon Glass wrote:
> >>> Most of the time the optimised memset() is what we want. For
On Fri, 17 Mar 2017, Tom Rini wrote:
> On Wed, Mar 15, 2017 at 04:02:20AM -0400, Robert P. J. Day wrote:
> >
> > to build cross_tools, i ran:
> >
> > $ make sandbox_defconfig
> > $ make cross_tools
> >
> > and while it appeared to work, i got:
> >
> > ... snip ...
> >
> > LDFLAGS="" python
with current "git pull" of master branch, was following along the
instructions in test/image/test-fit.py:
# To run this:
#
# make O=sandbox sandbox_config
# make O=sandbox
# ./test/image/test-fit.py -u sandbox/u-boot
i'm assuming that, since this is the sandbox, not all FIT image
On 03/28/17 at 05:51am, Robert P. J. Day wrote:
> On Fri, 17 Mar 2017, Tom Rini wrote:
>
> > On Wed, Mar 15, 2017 at 04:02:20AM -0400, Robert P. J. Day wrote:
> > > from ././include/libfdt_env.h:12,
> > > from :0:
> > > /usr/include/features.h:225:0: note: this
On 03/28/2017 11:25 AM, tien.fong.c...@intel.com wrote:
> From: "Chee, Tien Fong"
>
> Fixing the broken implementation caused by the patch
> commit:ce62e57fc57177352a02b76dace0173bd13404b6, ARM: boot0 hook:
See section 2) here [1] , in particular the part about
This change adds support for configuring the module clocks for SPI1 and
SPI5 from the 594MHz GPLL.
Note that the driver (rk_spi.c) always sets this to 99MHz, but the
implemented functionality is more general and will also support
different clock configurations.
X-AffectedPlatforms: RK3399-Q7
Hi Nishanth,
2017-03-28 6:44 GMT+09:00 Nishanth Menon :
> Hi,
>
> we've kind of run into an interesting situation recently, but might be of
> interest for various folks trying to reduce the image sizes.
>
> our AM335x device has a limited amount of sram.. and the SPL tries to fit
>
From: "Chee, Tien Fong"
Fixing the broken implementation caused by the patch
commit:ce62e57fc57177352a02b76dace0173bd13404b6, ARM: boot0 hook:
remove macro, include whole header file. This patch also enhances
boot header to contain more special data.
Signed-off-by:
+ more folks.
On Tuesday 28 March 2017 03:14 AM, Nishanth Menon wrote:
> Hi,
>
> we've kind of run into an interesting situation recently, but might be
> of interest for various folks trying to reduce the image sizes.
>
> our AM335x device has a limited amount of sram.. and the SPL tries to
>
From: Jakob Unterwurzacher
On the RK3399-Q7 we need to enable a number of configuration options
(e.g. CONFIG_SPI_FLASH_WINBND) dependent on Kconfig seeing CONFIG_SPI
and CONFIG_SPI_FLASH active.
To allow for these being defined in Kconfig (e.g. via
For chips that don't have any meaningful boot-selection pins that
directly change the Boot ROM's boot-order (e.g. Rockchip RK3399,
Allwinner A64, Allwinner A80), a probing of devices in a predefined
(and board-specfic) boot-order is desirable for the SPL to mimic the
ROM's behaviour and allow
The RK3399 has a similar SPI controller as previous Rockchip SoCs.
This changeset reuses this driver and evolves pinctrl and clk drivers for
the RK3399 to support the needs of the RK3399.
Validated for SPI1 and SPI5 on the RK3399-Q7.
We've included the changes to our defconfig and dts (both not
Hi Lukasz
2017-03-27 16:27 GMT+08:00 Lukasz Majewski :
> HI Eddie,
>
> > rockusb is a protocol run between host pc and device. it help people
> > get device info, flash image to device. this patch implement rockusb
> > on device side.
>
> I'm a bit confused, since I don't know if
On 03/28/2017 07:56 AM, Georges Savoundararadj wrote:
> With the port C enabled, we can read the GPI input state of:
> * the DIP switches (USER_DIPSW_HPS[3:0]/HPS_GPI[7:4])
> * the push buttons (USER_PB_HPS[3:0]/HPS_GPI[11:8])
>
> Signed-off-by: Georges Savoundararadj
>
Sync with Linux commit ad0376eb1483b ("Merge tag 'edac_for_4.11_2'").
Signed-off-by: Peng Fan
Cc: Tom Rini
---
include/linux/math64.h | 172 +
lib/div64.c| 141
The RK3399 does not have any boot selection pins and the BootROM probes
the boot interfaces using the following boot-order:
1. SPI
2. eMMC (sdhci in DTS)
3. SD card (sdmmc in DTS)
4. USB loader
For ease of deployment, the SPL stage should mirror the boot order of
the ROM and use
Hi Andre,
On 03/23/2017 05:22 PM, Andre Przywara wrote:
Hi Kever,
I was wondering if we really need to copy in all those ATF definitions.
I think this is really an *interface* between the loader (SPL or BL2)
and the runtime services (BL31), so it's supposed to be stable and we
wouldn't need
Signed-off-by: Philipp Tomsich
---
configs/puma_defconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configs/puma_defconfig b/configs/puma_defconfig
index fb33ba9..efca8f9 100644
--- a/configs/puma_defconfig
+++ b/configs/puma_defconfig
@@
From: Jakob Unterwurzacher
The existing Rockchip SPI (rk_spi.c) driver also matches the hardware
block found in the RK3399. This has been confirmed both with SPI NOR
flashes and general SPI transfers on the RK3399-Q7 for SPI1 and SPI5.
This change
Signed-off-by: Philipp Tomsich
---
configs/puma_defconfig | 7 +++
1 file changed, 7 insertions(+)
diff --git a/configs/puma_defconfig b/configs/puma_defconfig
index d045d41..fb33ba9 100644
--- a/configs/puma_defconfig
+++ b/configs/puma_defconfig
@@
From: Jakob Unterwurzacher
The RK3399-Q7 (Puma) unsually (this is a build-time option for
customised boards) has an on-module SPI-flash connected to SPI1.
As of today, this is a Winbond W25Q32DW (32MBit) device.
The SPI5 controller is routed to the Q7
Signed-off-by: Philipp Tomsich
---
include/configs/rk3399_common.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/configs/rk3399_common.h b/include/configs/rk3399_common.h
index 9d22e0c..c409d95 100644
--- a/include/configs/rk3399_common.h
not sure if i'm misreading this, but in the top-level Kconfig file,
i can see how one selects support for FIT images:
config FIT
bool "Support Flattened Image Tree"
select MD5
help
This option allows you to boot the new uImage structure,
Flattened
From: Konstantin Porotchkin
Add NAND to CP master device tree. Add armada-7040-db-nand
device tree for the board configured with NAND boot device.
Add comment about boot device ID to armada-7040-db DTS.
Signed-off-by: Konstantin Porotchkin
Cc: Stefan
From: Konstantin Porotchkin
Add NAND configuration parameters to A8K shared config file.
Add defconfig for db-88f7040 board with boot from NAND setup.
Signed-off-by: Konstantin Porotchkin
Cc: Stefan Roese
Cc: Igal Liberman
From: Konstantin Porotchkin
Add PCIe initialization at early init stage.
This operation has a side effect of detecting all PCIe
plug-in cards, so the operator is not obligated to issue
"pci enum" command though CLI for this purpose.
Also convert the SATA first device scan to
From: Konstantin Porotchkin
This patch allows probing all PCIe nodes defined in DTS
even if there no device connected to such node (no link).
Without this fix the driver returns -ENODEV when the PCIe
link is down. As result the pci_init function stops
scanning bus on first
From: Konstantin Porotchkin
Obtain NAND controller setup parameters from the device
tree instead of using hardcoded values.
Signed-off-by: Konstantin Porotchkin
Cc: Scott Wood
Cc: Stefan Roese
Cc: Igal Liberman
From: Konstantin Porotchkin
Fix the NAND structures in bubt command according to latest
changes in MTD API.
Signed-off-by: Konstantin Porotchkin
Cc: Stefan Roese
Cc: Igal Liberman
Cc: Nadav Haklai
From: Konstantin Porotchkin
Sync the default configuration of Armada-8040-DB with
Marvell u-boot-2015 standard configuration "A" for the same board.
The standard configuration "A" enables 2 PCIe slots on CP0
and 3 PCIe slots on CP1.
This is the main configuration used for
From: Konstantin Porotchkin
This patch series adds NAND flash support to Marvell A7K/A8K SoC families.
Additionally it fixes the pxa3xx driver by enforcing usage of DTS-supplied
NAND parameters instead of using the hardcoded ones.
The Marvell "bubt" command code related to
Hi,
On 28/03/17 15:16, Dan Handley wrote:
> Hi Kever
>
>> -Original Message-
>> From: Kever Yang [mailto:kever.y...@rock-chips.com]
>> Sent: 28 March 2017 08:23
>>
>> Hi Andre,
>>
>>
>> On 03/23/2017 05:22 PM, Andre Przywara wrote:
>> > Hi Kever,
>> >
>> > I was wondering if we really
From: Konstantin Porotchkin
Implement mvebu_get_nand_clock call for A8K family.
This function is used by PXA3XX NAND driver.
Signed-off-by: Konstantin Porotchkin
Cc: Stefan Roese
Cc: Igal Liberman
Cc: Nadav Haklai
From: Konstantin Porotchkin
This patch series includes fix for the mvebu DW PCIe driver that allows
scanning of empty (unlinked) PCIe slots.
The default DTS file for Armada-8040-DB is re-arranged and aligned with
Marvell default configuration "A" for this board.
PCIe devices
Hi Peng,
On Thu, Mar 2, 2017 at 6:21 AM, Peng Fan wrote:
>
>
>> -Original Message-
>> From: Jagan Teki [mailto:ja...@openedev.com]
>> Sent: Wednesday, March 01, 2017 10:12 PM
>> To: Peng Fan
>> Cc: Jagan Teki ; u-boot@lists.denx.de
From: Patrice Chotard
Add support for on-chip ohci controller available
on STMicrolectronics SoCs.
Ohci support will be then available on both type A
USB 2.0 connectors.
Signed-off-by: Patrice Chotard
---
v3: _ update to use new USB PHY
From: Patrice Chotard
Add usb_gadget_handle_interrupts(), board_usb_init(),
board_usb_cleanup() and g_dnl_board_usb_cable_connected()
callbacks needed for FASTBOOT support
Signed-off-by: Patrice Chotard
---
board/st/stih410-b2260/board.c | 44
An early version of this is available upstream. Bring it in as a starting
point.
Signed-off-by: Simon Glass
---
lib/libfdt/pylibfdt/libfdt.swig | 433
lib/libfdt/pylibfdt/setup.py| 33 +++
2 files changed, 466 insertions(+)
These are not used in U-Boot. Manual relocation fixup is used by blackfin
but that is being removed.
Signed-off-by: Simon Glass
---
drivers/i2c/i2c_core.c | 44
include/i2c.h | 15 ---
2 files changed, 59
There is no good reason to use a different name on PowerPC. Change it to
timer_init() like the others.
Signed-off-by: Simon Glass
---
arch/powerpc/cpu/mpc5xx/cpu_init.c| 2 +-
arch/powerpc/lib/time.c | 2 +-
board/freescale/mpc8313erdb/mpc8313erdb.c
Now that both branches of the #if do the same thing, we can unify them.
Signed-off-by: Simon Glass
---
common/board_f.c | 8 ++--
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/common/board_f.c b/common/board_f.c
index 7feffa4939..e387ca2233 100644
---
This is not used by any board. Drop it.
Signed-off-by: Simon Glass
Clean up board_f sequence a little
This series tries to remove #ifdefs from the board_f init sequence. It
gets as far as I2C and then we need to discuss whether we can start to
remove the old I2C framework.
I
On 03/28/2017 09:27 AM, Simon Glass wrote:
> Combine the conditions so this appears in the init list only once.
>
> Signed-off-by: Simon Glass
> ---
>
> common/board_f.c | 5 +
> 1 file changed, 1 insertion(+), 4 deletions(-)
>
> diff --git a/common/board_f.c
This function is called just before checkcpu() on MPX83xx. Move it to the
code for that arch.
Signed-off-by: Simon Glass
---
arch/powerpc/cpu/mpc83xx/cpu.c | 5 +
arch/powerpc/cpu/mpc83xx/cpu_init.c | 1 +
arch/powerpc/include/asm/processor.h | 2 ++
From: Patrice Chotard
reset-names property is needed to use the reset
API for STi sdhci driver.
Signed-off-by: Patrice Chotard
Reviewed-by: Jaehoon Chung
---
arch/arm/dts/stih407-family.dtsi | 1 +
1 file changed, 1
From: Patrice Chotard
Signed-off-by: Patrice Chotard
Reviewed-by: Jaehoon Chung
---
drivers/mmc/sti_sdhci.c | 31 ++-
1 file changed, 22 insertions(+), 9 deletions(-)
diff --git
From: Patrice Chotard
Add support for on-chip ehci controller available
on STMicrolectronics SoCs.
ehci support will be then available on both type A
USB 2.0 connectors.
Signed-off-by: Patrice Chotard
---
v3: _ update to use new USB PHY
From: Patrice Chotard
This is the generic phy driver for the picoPHY ports
used by USB2/1.1 controllers. It is found on STiH407 SoC
family from STMicroelectronics.
Signed-off-by: Patrice Chotard
---
v3: _ convert driver to USB PHY uclass
The RK3399 hangs during DMA of the Designware MMC controller, when
performing DMA-based transctions in SPL.
To work around this issue, we disable DMA-based access modes in the
SPL stage. Note that this affects full OF_CONTROL (i.e. OF_PLATDATA
not being defined) only and aligns the behaviour with
From: Patrice Chotard
Add support for on-chip DWC3 controller available
on STMicrolectronics STiH407 family SoCs.
On B2260 board, the type AB USB connector is managed
by a DWC3 IP. As USB3 signals are not wired, only USB2
is supported.
Signed-off-by: Patrice Chotard
From: Patrice Chotard
This patch adds the ST glue logic to manage the DWC3 HC
on STiH407 SoC family. It configures the internal glue
logic and syscfg registers.
Part of this code been extracted from kernel.org driver
(drivers/usb/dwc3/dwc3-st.c)
Signed-off-by: Patrice
On Tue, Mar 28, 2017 at 1:02 PM, Jagan Teki wrote:
> I still not able to boot from SD with mx6qpsabreauto_defconfig, did
> you able to boot from SD?
Could you try bisect it?
___
U-Boot mailing list
U-Boot@lists.denx.de
There is no need to have this call in the generic init sequence and no
other architecture has needed it in the time it has been there. Move it
into sandbox's private code.
Signed-off-by: Simon Glass
---
arch/sandbox/cpu/start.c | 7 +++
common/board_f.c | 18
While x86 is the only user and this could in principle be moved to
arch_cpu_init() there is some justification for this being a separate
call. It provides a way to handle init which is not CPU-specific, but
must happen before the CPU can be set up.
Rename the function to be more generic.
We don't need a special hook for sandbox as one of the later ones will do
just as well. We can print error messages about bad options after we
print the banner. In fact, it seems better.
Signed-off-by: Simon Glass
---
arch/sandbox/cpu/start.c | 5 +
common/board_f.c
We really don't need to have a name like this in the generic init
sequence. Use the generic get_clocks() name so that we can merge these
two at some point.
Signed-off-by: Simon Glass
---
arch/powerpc/cpu/mpc8xx/speed.c | 2 +-
common/board_f.c| 2 +-
We can just call this from the only function that needs it.
Signed-off-by: Simon Glass
---
arch/powerpc/cpu/mpc8xx/speed.c | 32
common/board_f.c| 2 --
include/common.h| 1 -
3 files changed, 16
The RK3399 hangs during DMA of the Designware MMC controller, when
performing DMA-based transactions in SPL. To work around this issue,
we disable DMA-based access modes in the SPL stage.
With this fix in place, we can now drop 'fifo-mode' in the DTS for the
RK3399-Q7 (Puma).
Signed-off-by:
From: Patrice Chotard
Use struct udevice* as input parameter. Previous
parameters are retrieved through plat and priv data.
This to prepare to use the reset framework.
Signed-off-by: Patrice Chotard
Reviewed-by: Jaehoon Chung
From: Patrice Chotard
This series adds :
_ update existing sdhci driver to use reset framework
_ add usb phy driver
_ add ehci support
_ add ohci support
_ add xhci support
_ add fastboot support
With all this feature
From: Patrice Chotard
Signed-off-by: Patrice Chotard
---
v2 :_ squash patch 7,9,11,12,14,16,17,18,19,20 and 21
configs/stih410-b2260_defconfig | 36
1 file changed, 32 insertions(+), 4 deletions(-)
diff
From: Patrice Chotard
Signed-off-by: Patrice Chotard
---
include/configs/stih410-b2260.h | 12
1 file changed, 12 insertions(+)
diff --git a/include/configs/stih410-b2260.h b/include/configs/stih410-b2260.h
index 3df0e04..6c84e9b
This file is missing the usual header guard. Add it.
Signed-off-by: Simon Glass
---
include/initcall.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/include/initcall.h b/include/initcall.h
index 65f67dca83..fe7e90388e 100644
--- a/include/initcall.h
+++
We can just call this from the only place that needs it.
Signed-off-by: Simon Glass
---
arch/powerpc/cpu/mpc8xx/speed.c | 63 +
common/board_f.c| 4 ---
include/common.h| 1 -
3 files changed, 33
From: Patrice Chotard
This is a basic implementation of USB PHY which
define a standard API that link USB PHY client to
USB PHY driver controller.
Signed-off-by: Patrice Chotard
---
v3: _ this patch intoduce new USB PHY uclass
From: Patrice Chotard
Signed-off-by: Patrice Chotard
---
v3: _ squas patches 8 and 10
include/configs/stih410-b2260.h | 4
1 file changed, 4 insertions(+)
diff --git a/include/configs/stih410-b2260.h b/include/configs/stih410-b2260.h
This a few minor changes down from upstream since the last sync.
Signed-off-by: Simon Glass
---
lib/libfdt/fdt_overlay.c | 23 ---
lib/libfdt/fdt_rw.c | 3 ++-
lib/libfdt/fdt_strerror.c | 3 +++
3 files changed, 17 insertions(+), 12 deletions(-)
Combine the conditions so this appears in the init list only once.
Signed-off-by: Simon Glass
---
common/board_f.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/common/board_f.c b/common/board_f.c
index 9ba3163e0f..cbd9f67709 100644
---
We have two chunks of code which depend on this CONFIG options. There is
likely no need to keep them apart, so join them.
Signed-off-by: Simon Glass
---
common/board_f.c | 17 -
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/common/board_f.c
More than half of the architectures use this function so let's make them
all use it.
For those which don't actually define it, we can rely on the weak function
in lib/time.c
Signed-off-by: Simon Glass
---
common/board_f.c | 4
1 file changed, 4 deletions(-)
diff --git
Move these two function calls into checkcpu(), which is called on this
arch immediately after these two.
Signed-off-by: Simon Glass
---
arch/powerpc/cpu/mpc8260/cpu.c | 9 -
arch/powerpc/include/asm/processor.h | 2 ++
common/board_f.c | 4
On Tue, Mar 28, 2017 at 9:34 PM, Fabio Estevam wrote:
> On Tue, Mar 28, 2017 at 1:02 PM, Jagan Teki wrote:
>
>> I still not able to boot from SD with mx6qpsabreauto_defconfig, did
>> you able to boot from SD?
>
> Could you try bisect it?
Started
At present we misuse print_cpuinfo() do so CPU init on x86. This is done
because it is the next available call after the console is enabled. But
several arches use checkcpu() instead. Despite the horrible name (which
we can fix), it seems a better choice.
Adjust the various x86 CPU
This commit adds the baseline defconfig for the RK3399-Q7 (Puma) SoM
(under the name 'puma-rk3399_defconfig') featuring the Rockchip RK3399
in a Qseven compatible module.
This subsumes the following changes:
* defconfig: rk3399: migrate
CONFIG_SPL_LIBCOMMON_SUPPORT/CONFIG_SPL_LIBGENERIC_SUPPORT
The RK3399-Q7 is a system-on-module featuring the Rockchip RK3399
in a Qseven-compatible form-factor.
These changes add a device-tree describing the board and its
interfaces for basic functionality (e.g. GbE, SPI, eMMC, SD-card).
This includes the following changes from the original development:
For the initial validation of the RK3399-Q7 (Puma), the DDR3 has been
clocked at 666MHz (i.e. DDR3-1333) using the same (safe) settings as
used in Rockchip's MiniLoader.
Signed-off-by: Philipp Tomsich
---
arch/arm/dts/rk3399-sdram-ddr3-1333.dtsi | 1537
The RK3399-Q7 is a system-on-module featuring a Rockchip RK3399 SoC
in a Qseven-compatible form-factor.
This changeset adds basic support for the following features (validated
against the Hainan baseboard):
* Gigabit Ethernet (incl. the KSZ9031 GbE PHY)
* SPI on SPI1 (on-module) and SPI5
Hi,
When I try to compile U-Boot on my Arch Linux system I get the following
error:
LDFLAGS="" python ./lib/libfdt/setup.py \
"-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer-include
./include/libfdt_env.h -idirafterinclude -idirafter./arch/arm/include
-I./lib/libfdt -I./tools
I2C_EDID currently selects DM_I2C. However, it is not needed. I2C_EDID
is used for building edid.c, which doesn't even use I2C bus, and by I2C
command, which knows how to use DM and old style I2C interface, so it is
not directly affected by this removal.
Furthermore, this selection can generate
On Rab, 2017-03-29 at 11:28 +0800, tien.fong.c...@intel.com wrote:
> From: "Chee, Tien Fong"
>
> Commit ce62e57fc571 ("ARM: boot0 hook: remove macro, include whole
> header file") miss out cleaning macro in this header file, and this
> has broken implementation of a
On 28.03.2017 18:27, Simon Glass wrote:
There is no need to have this call in the generic init sequence and no
other architecture has needed it in the time it has been there. Move it
into sandbox's private code.
Signed-off-by: Simon Glass
Reviewed-by: Stefan Roese
On 28.03.2017 18:27, Simon Glass wrote:
While x86 is the only user and this could in principle be moved to
arch_cpu_init() there is some justification for this being a separate
call. It provides a way to handle init which is not CPU-specific, but
must happen before the CPU can be set up.
Rename
On 28.03.2017 18:27, Simon Glass wrote:
We have two chunks of code which depend on this CONFIG options. There is
likely no need to keep them apart, so join them.
Signed-off-by: Simon Glass
Reviewed-by: Stefan Roese
Thanks,
Stefan
On 28.03.2017 18:27, Simon Glass wrote:
We really don't need to have a name like this in the generic init
sequence. Use the generic get_clocks() name so that we can merge these
two at some point.
Signed-off-by: Simon Glass
Reviewed-by: Stefan Roese
Thanks,
On 28.03.2017 18:27, Simon Glass wrote:
We can just call this from the only function that needs it.
Signed-off-by: Simon Glass
Reviewed-by: Stefan Roese
Thanks,
Stefan
___
U-Boot mailing list
U-Boot@lists.denx.de
On 28.03.2017 18:27, Simon Glass wrote:
We can just call this from the only place that needs it.
Signed-off-by: Simon Glass
Reviewed-by: Stefan Roese
Thanks,
Stefan
___
U-Boot mailing list
U-Boot@lists.denx.de
On 28.03.2017 18:27, Simon Glass wrote:
Now that both branches of the #if do the same thing, we can unify them.
Signed-off-by: Simon Glass
Reviewed-by: Stefan Roese
Thanks,
Stefan
___
U-Boot mailing list
On 28.03.2017 18:27, Simon Glass wrote:
There is no good reason to use a different name on PowerPC. Change it to
timer_init() like the others.
Signed-off-by: Simon Glass
Reviewed-by: Stefan Roese
Thanks,
Stefan
On 28.03.2017 18:27, Simon Glass wrote:
More than half of the architectures use this function so let's make them
all use it.
For those which don't actually define it, we can rely on the weak function
in lib/time.c
Signed-off-by: Simon Glass
Reviewed-by: Stefan Roese
On 28.03.2017 18:27, Simon Glass wrote:
Combine the conditions so this appears in the init list only once.
Signed-off-by: Simon Glass
Reviewed-by: Stefan Roese
Thanks,
Stefan
___
U-Boot mailing list
On 28.03.2017 18:27, Simon Glass wrote:
This function is called just before checkcpu() on MPX83xx. Move it to the
code for that arch.
Signed-off-by: Simon Glass
Reviewed-by: Stefan Roese
Thanks,
Stefan
___
U-Boot
On 28.03.2017 18:27, Simon Glass wrote:
Move these two function calls into checkcpu(), which is called on this
arch immediately after these two.
Signed-off-by: Simon Glass
Reviewed-by: Stefan Roese
Thanks,
Stefan
On 28.03.2017 18:27, Simon Glass wrote:
We don't need a special hook for sandbox as one of the later ones will do
just as well. We can print error messages about bad options after we
print the banner. In fact, it seems better.
Signed-off-by: Simon Glass
Reviewed-by: Stefan
On 28.03.2017 18:27, Simon Glass wrote:
At present we misuse print_cpuinfo() do so CPU init on x86. This is done
because it is the next available call after the console is enabled. But
several arches use checkcpu() instead. Despite the horrible name (which
we can fix), it seems a better choice.
1 - 100 of 144 matches
Mail list logo