[U-Boot] [PATCH v2 1/8] Move board_init_f_mem() into a common location

2015-08-28 Thread Simon Glass
This function will be used by both SPL and U-Boot proper. So move it into a common place. Also change the #ifdef so that the early malloc() area is not set up in SPL if CONFIG_SYS_SPL_MALLOC_START is defined. In that case it would never actually be used, and just chews up stack space. Signed-off-b

[U-Boot] [PATCH v2 0/8] arm: Tidy up early init

2015-08-28 Thread Simon Glass
This series collects the previous RFT patches I sent out. https://patchwork.ozlabs.org/patch/508167/ https://patchwork.ozlabs.org/patch/508168/ It turns out that I originally sent a version of these in April: https://patchwork.ozlabs.org/patch/461687/ https://patchwork.ozlabs.org/patch/461690/

Re: [U-Boot] [PATCH 2/3] ARM: uniphier: enable SPL_OF_CONTROL

2015-08-28 Thread Masahiro Yamada
Hi Marek, 2015-08-29 6:41 GMT+09:00 Marek Vasut : > On Friday, August 28, 2015 at 02:23:54 PM, Masahiro Yamada wrote: >> 2015-08-28 20:28 GMT+09:00 Marek Vasut : >> > On Friday, August 28, 2015 at 01:13:18 PM, Masahiro Yamada wrote: >> >> Device Tree really improves code maintainability and is no

Re: [U-Boot] [PATCH 2/2] x86: bayleybay: Convert to use more dm drivers

2015-08-28 Thread Simon Glass
On 28 August 2015 at 03:22, Bin Meng wrote: > Move to driver model for USB and ETH on Intel Bayley Bay. > > Signed-off-by: Bin Meng > --- > > board/intel/bayleybay/bayleybay.c | 6 -- > configs/bayleybay_defconfig | 4 +++- > 2 files changed, 3 insertions(+), 7 deletions(-) Acked-by:

Re: [U-Boot] [PATCH 3/3] serial: uniphier: drop platform data support

2015-08-28 Thread Simon Glass
On 28 August 2015 at 05:13, Masahiro Yamada wrote: > This driver is enabled only for UniPhier SoCs and ARCH_UNIPHIER now > selects OF_CONTROL and SPL_OF_CONTROL. > > This driver no longer needs to support platform data configuration. > > Signed-off-by: Masahiro Yamada > --- > > drivers/serial/se

Re: [U-Boot] [PATCH] dts: fix dependency of OF_SPL_REMOVE_PROPS

2015-08-28 Thread Simon Glass
On 28 August 2015 at 05:28, Masahiro Yamada wrote: > This should depend on SPL_OF_CONTROL (it is not equivalent to > SPL && OF_CONTROL). > > Signed-off-by: Masahiro Yamada > --- > > dts/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Acked-by: Simon Glass __

Re: [U-Boot] [PATCH 2/3] ARM: uniphier: enable SPL_OF_CONTROL

2015-08-28 Thread Simon Glass
On 28 August 2015 at 05:13, Masahiro Yamada wrote: > Device Tree really improves code maintainability and is now > available for SPL too. > > This is the state-of-the-art implementation in U-boot. > > The board files (platform data) are no longer needed. > > Signed-off-by: Masahiro Yamada > --- >

Re: [U-Boot] [PATCH 1/2] x86: coreboot: Convert to use more dm drivers

2015-08-28 Thread Simon Glass
On 28 August 2015 at 03:22, Bin Meng wrote: > Move to driver model for RTC, USB and ETH on coreboot. > > Signed-off-by: Bin Meng > --- > > arch/x86/cpu/coreboot/coreboot.c | 6 -- > configs/coreboot-x86_defconfig | 5 - > 2 files changed, 4 insertions(+), 7 deletions(-) Acked-by: Simo

Re: [U-Boot] [PATCH] arm: socfpga: dm: Fix DM initialization failure after warm reset

2015-08-28 Thread Simon Glass
Hi, On 28 August 2015 at 02:41, Jian Luo wrote: > gd->dm_root is not cleared in SPL after warm reset. > This might cause DM initilazation failure. > > Signed-off-by: Jian Luo > --- > arch/arm/mach-socfpga/spl.c | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/arch/arm/mach-socfpga

Re: [U-Boot] [PATCH] serial: drop redundant depends on

2015-08-28 Thread Simon Glass
On 28 August 2015 at 05:14, Masahiro Yamada wrote: > SANDBOX_SERIAL depends on SANDBOX, and SANDBOX selects DM. > So, "SANDBOX_SERIAL depends on DM" is redundant. > > Likewise, UNIPHIER_SERIAL depends on ARCH_UNIPHIER, and > ARCH_UNIPHIER selects DM_SERIAL. > So, "UNIPHIER_SERIAL depends on DM_SER

Re: [U-Boot] [PATCH 2/2] mmc: dw_mmc: Make timeout error visible to u-boot console

2015-08-28 Thread Simon Glass
Hi Lukasz, On 28 August 2015 at 07:50, Lukasz Majewski wrote: > > The timeout error for DW MMC transfer should be visible on the u-boot > console to speed up the process of debugging. > > Signed-off-by: Lukasz Majewski > Cc: Tom Rini > Cc: Simon Glass > --- > drivers/mmc/dw_mmc.c | 2 +- > 1

[U-Boot] [PATCH][v2] thermal: imx: add imx7d soc thermal support

2015-08-28 Thread Adrian Alonso
Add imx7 SoC thermal driver support Signed-off-by: Adrian Alonso --- Changes for V2: Fix build error for missin macro check ;P drivers/thermal/imx_thermal.c | 86 --- 1 file changed, 81 insertions(+), 5 deletions(-) diff --git a/drivers/thermal/imx_therm

[U-Boot] [PATCH][v6] imx: mx7dsabresd: Add support for MX7D SABRESD board

2015-08-28 Thread Adrian Alonso
* Add i.MX7D SABRESD target board support with enabled modules: UART, PMIC, USB/OTG, SD, eMMC, ENET, I2C, 74LV IOX. Build target: mx7dsabresd_config Signed-off-by: Peng Fan Signed-off-by: Fugang Duan Signed-off-by: Ye.Li Signed-off-by: Adrian Alonso --- Changes for V2: - Include arch/arm/

[U-Boot] [PATCH] thermal: imx: add imx7d soc thermal support

2015-08-28 Thread Adrian Alonso
Add imx7 SoC thermal driver support Signed-off-by: Adrian Alonso --- drivers/thermal/imx_thermal.c | 86 --- 1 file changed, 81 insertions(+), 5 deletions(-) diff --git a/drivers/thermal/imx_thermal.c b/drivers/thermal/imx_thermal.c index 7848dc3..1ef345f

[U-Boot] [PATCH][v6] imx: imx7d: add imx-common cpu support for imx7d

2015-08-28 Thread Adrian Alonso
Add imx-common cpu support for imx7d SoC - Update reset_cause for imx7d - Enable watchdog driver built for imx7d Signed-off-by: Adrian Alonso Signed-off-by: Peng Fan Signed-off-by: Ye.Li --- Changes for V2: Split patch to easier review process - Add system arch register definitions Changes for

[U-Boot] [PATCH][v6] imx: imx7d: Add SoC system support

2015-08-28 Thread Adrian Alonso
Add imx7d basic SoC system support Misc arch dependent functions for system bring up Signed-off-by: Adrian Alonso Signed-off-by: Peng Fan Signed-off-by: Ye.Li --- Changes for V2: Split from patch imx: imx7d: initial arch level support Changes for V3: Resend Changes for V4: Resend Changes for V5

[U-Boot] [PATCH] arm: imx-common: init: rework wdog settings for imx6/imx7

2015-08-28 Thread Adrian Alonso
Rework imx_set_wdog_powerdown to be reused by imx6 and imx7 wdog4 is only supported in imx7. Signed-off-by: Adrian Alonso --- arch/arm/cpu/armv7/mx6/soc.c | 14 -- arch/arm/imx-common/init.c| 22 ++ arch/arm/include/asm/arch-mx6/sys_pr

[U-Boot] [PATCH] arm: imx-common: init: extend init_aips to support imx7

2015-08-28 Thread Adrian Alonso
Extend init_aips to support imx7 SoC, use is_soc_type and is_cpu_type to resolve at run time aips3 settings Signed-off-by: Adrian Alonso --- arch/arm/imx-common/init.c | 44 1 file changed, 20 insertions(+), 24 deletions(-) diff --git a/arch/arm/imx-

Re: [U-Boot] [PATCH] arm: socfpga: dm: Fix DM initialization failure after warm reset

2015-08-28 Thread Marek Vasut
On Friday, August 28, 2015 at 02:09:15 PM, Jian Luo wrote: > Hi Marek, Hi, > On 28.08.2015 14:01, Marek Vasut wrote: > > On Friday, August 28, 2015 at 01:40:08 PM, Jian Luo wrote: > snip > > >> "Security policy". :( > > > > But thunderbird works ? Can't you just copy the SMTP settin

Re: [U-Boot] [PATCH 1/2] mmc: dw_mmc: Increase timeout to 20 seconds

2015-08-28 Thread Marek Vasut
On Friday, August 28, 2015 at 03:50:20 PM, Lukasz Majewski wrote: > The commit: d9dbb97be0e4a550457aec5f11afefb446169c90 > "mmc: dw_mmc: Zap endless timeout" removed endless loop waiting for end > of dw mmc transfer. > > For some workloads - dfu test @ Odroid XU3 (sending 8MiB file) - > and SD car

Re: [U-Boot] [U-Boot, 3/5] usb: spear: Add support for both SPEAr600 EHCI controllers

2015-08-28 Thread Marek Vasut
On Friday, August 28, 2015 at 11:03:32 PM, Tom Rini wrote: > On Tue, Aug 18, 2015 at 09:27:18AM +0200, Stefan Roese wrote: > > USB EHCI on SPEAr600 has not been tested for a while. The base controller > > addresses are missing. This patch adds the defines to the header. And > > adds the missing cod

Re: [U-Boot] [PATCH 2/3] ARM: uniphier: enable SPL_OF_CONTROL

2015-08-28 Thread Marek Vasut
On Friday, August 28, 2015 at 02:23:54 PM, Masahiro Yamada wrote: > 2015-08-28 20:28 GMT+09:00 Marek Vasut : > > On Friday, August 28, 2015 at 01:13:18 PM, Masahiro Yamada wrote: > >> Device Tree really improves code maintainability and is now > >> available for SPL too. > >> > >> This is the stat

Re: [U-Boot] [U-Boot, v3] Makefile: fix SOURCE_DATE_EPOCH for *BSD host

2015-08-28 Thread Holger Levsen
Hi, On Freitag, 28. August 2015, Tom Rini wrote: > Applied to u-boot/master, thanks! yay, glad to see this thread come to a happy ending, both nicely and quickly! ;-) Thanks to everyone involved! cheers, Holger signature.asc Description: This is a digitally signed message part. _

Re: [U-Boot] [PATCH v2 1/2] tools/atmelimage.c: Fix warning when debug is enabled

2015-08-28 Thread Tom Rini
On Fri, Aug 28, 2015 at 09:20:18AM +0200, Andreas Bießmann wrote: > +u-boot ML > > On 08/27/2015 07:54 PM, Tom Rini wrote: > > Otherwise we get: > > tools/atmelimage.c:134:3: warning: format ‘%d’ expects argument of type > > ‘int’, but argument 2 has type ‘size_t’ [-Wformat=] > > debug("atmelima

Re: [U-Boot] [U-Boot, 5/5] arm: spear: Some changes / updates to the x600 config header

2015-08-28 Thread Tom Rini
On Tue, Aug 18, 2015 at 09:27:20AM +0200, Stefan Roese wrote: > This patch brings the following changes to the x600 board support: > > - Add USB EHCI support > - Add VFAT support for USB key file access > - Increase malloc size (for UBI / UBIFS usage) > - Enable Thumb mode to save some image spac

Re: [U-Boot] [U-Boot,v2] kconfiglib: update to the latest version

2015-08-28 Thread Tom Rini
On Thu, Aug 13, 2015 at 07:55:40PM +0200, Ulf Magnusson wrote: > Corresponds to ba71a0e (Fix _parse_block() 'parent' documentation re. > ifs.) from upstream, just adding the SPDX tag. > > Has performance improvements, code cleanup, Python 3 support, and various > small fixes, including the follow

Re: [U-Boot] [U-Boot,v2,1/1] lib/display_options: Fix print_freq

2015-08-28 Thread Tom Rini
On Mon, Aug 24, 2015 at 10:59:09PM -0700, Suriyan Ramasami wrote: > Build without CONFIG_SPL_SERIAL_SUPPORT does not print the cpu freq. > Booting an odroid U3 board, one sees this: > CPU: Exynos4412 @ GHz > instead of: > CPU: Exynos4412 @ 1 GHz > > This change was done to get rid of compiler

Re: [U-Boot] [U-Boot, 2/3] ARM: DRA74-evm: Add iodelay values for SR2.0

2015-08-28 Thread Tom Rini
On Thu, Aug 13, 2015 at 09:50:59AM -0500, Nishanth Menon wrote: > Silicon revision 2.0 has new signal routing hence has an updated set of > iodelay parameters to be used. Update the configuration for the same. > Padmux remains the same. > > Based on data from VayuES2_EVM_Base_Config-20150807. >

Re: [U-Boot] [U-Boot, 5/5] include: configs: am43xx_evm: add 'usb stop' in usbboot env

2015-08-28 Thread Tom Rini
On Mon, Aug 10, 2015 at 04:52:58PM +0530, Kishon Vijay Abraham I wrote: > The usbboot environment variable has 'usb start' command but > doesn't have the corresponding 'usb stop' command. This breaks > usb peripheral mode if tried after 'run usbboot' fails to load > the images in usb host mode. >

Re: [U-Boot] [U-Boot, v2, 4/4] ARM: OMAP5/AM43xx: remove enabling USB clocks from enable_basic_clocks()

2015-08-28 Thread Tom Rini
On Wed, Aug 19, 2015 at 04:16:28PM +0530, Kishon Vijay Abraham I wrote: > Now that we have separate function to enable USB clocks, remove > enabling USB clocks from enable_basic_clocks(). Now board_usb_init() > should take care to invoke enable_usb_clocks() for enabling > USB clocks. > > Signed-o

Re: [U-Boot] [U-Boot, v2, 1/4] ARM: OMAP5: Add functions to enable and disable USB clocks

2015-08-28 Thread Tom Rini
On Wed, Aug 19, 2015 at 04:16:25PM +0530, Kishon Vijay Abraham I wrote: > Added functions to enable and disable USB clocks which can be invoked > during USB init and USB exit respectively. > > Cc: Roger Quadros > Cc: Tero Kristo > Cc: Nishanth Menon > Signed-off-by: Kishon Vijay Abraham I >

Re: [U-Boot] [U-Boot, 1/3] board: ti: beagle_x15: added USB initializtion code

2015-08-28 Thread Tom Rini
On Wed, Aug 19, 2015 at 02:13:19PM +0530, Kishon Vijay Abraham I wrote: > Implemented board_usb_init(), board_usb_cleanup() and > usb_gadget_handle_interrupts() in beagle_x15 board file that > can be invoked by various gadget drivers. > > Signed-off-by: Kishon Vijay Abraham I > Reviewed-by: Tom

Re: [U-Boot] [U-Boot, v2, 3/4] board: ti: invoke clock API to enable and disable clocks

2015-08-28 Thread Tom Rini
On Wed, Aug 19, 2015 at 04:16:27PM +0530, Kishon Vijay Abraham I wrote: > invoke enable_usb_clocks during board_usb_init and disable_usb_clocks > during board_usb_exit to enable and disable clocks respectively. > > Signed-off-by: Kishon Vijay Abraham I > Reviewed-by: Tom Rini Applied to u-boot

Re: [U-Boot] [U-Boot, 2/3] board: ti: OMAP5: added USB initializtion code

2015-08-28 Thread Tom Rini
On Wed, Aug 19, 2015 at 02:13:20PM +0530, Kishon Vijay Abraham I wrote: > Implemented board_usb_init(), board_usb_cleanup() and > usb_gadget_handle_interrupts() in omap5 board file that > can be invoked by various gadget drivers. > > Signed-off-by: Kishon Vijay Abraham I > Reviewed-by: Tom Rini

Re: [U-Boot] [U-Boot, v2, 2/4] ARM: AM43xx: Add functions to enable and disable USB clocks

2015-08-28 Thread Tom Rini
On Wed, Aug 19, 2015 at 04:16:26PM +0530, Kishon Vijay Abraham I wrote: > Added functions to enable and disable USB clocks which can be invoked > during USB init and USB exit respectively. > > Cc: Roger Quadros > Cc: Tero Kristo > Cc: Nishanth Menon > Signed-off-by: Kishon Vijay Abraham I > R

Re: [U-Boot] [U-Boot, v3] Makefile: fix SOURCE_DATE_EPOCH for *BSD host

2015-08-28 Thread Tom Rini
On Fri, Aug 28, 2015 at 10:29:55AM +0200, Andreas Bießmann wrote: > The SOURCE_DATE_EPOCH mechanism for reproducible builds require some date(1) > with -d switch to print the relevant date and time strings of another point of > time. > > In other words it requires some date(1) that behaves like t

Re: [U-Boot] [U-Boot, 1/5] ARM: keystone2: configs: Move SP to end of u-boot section

2015-08-28 Thread Tom Rini
On Mon, Aug 17, 2015 at 07:54:48PM +0530, Lokesh Vutla wrote: > Currently u-boot stack is defined at the beginning of MSMC RAM. > This is a problem for uart boot mode as ROM downloads directly to > starting of MSMC RAM. > Fixing it by moving stack to the end of u-boot section and shifting > SYS_TE

Re: [U-Boot] [U-Boot, 4/5] board: ti: remove duplicate initialization of vbus_id_status

2015-08-28 Thread Tom Rini
On Mon, Aug 10, 2015 at 04:52:57PM +0530, Kishon Vijay Abraham I wrote: > vbus_id_status is initialized in board_usb_init. So remove it > while creating dwc3_device objects. > > Signed-off-by: Kishon Vijay Abraham I > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature

Re: [U-Boot] [U-Boot, 3/5] TI PHY: Add support to control 2nd USB PHY in DRA7xx/AM57xx

2015-08-28 Thread Tom Rini
On Mon, Aug 10, 2015 at 04:52:56PM +0530, Kishon Vijay Abraham I wrote: > Added support to power on/power off the second USB PHY present in > DRA7xx and AM57xx. > > Signed-off-by: Kishon Vijay Abraham I > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Descript

Re: [U-Boot] [U-Boot, 2/5] ARM: keystone2: move the custom build rules out to keystone specific makefile

2015-08-28 Thread Tom Rini
On Mon, Aug 17, 2015 at 07:54:49PM +0530, Lokesh Vutla wrote: > From: Nishanth Menon > > Keystone has build rules introduced by commit ef509b9063fb7 ("k2hk: add > support for k2hk SOC and EVM") and commit 0e7f2dbac6ead ("keystone: add > support for NAND gpheader image"). > > These are not reuse

Re: [U-Boot] [U-Boot, 2/5] ARM: DRA7: Enable clocks for USB OTGSS2 and USB PHY2

2015-08-28 Thread Tom Rini
On Mon, Aug 10, 2015 at 04:52:55PM +0530, Kishon Vijay Abraham I wrote: > Enabled clocks for the second dwc3 controller and second USB PHY present in > DRA7. > > Signed-off-by: Kishon Vijay Abraham I > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description

Re: [U-Boot] [U-Boot, 1/5] usb: dwc3: dwc3-omap: Use the clear register inorder to clear the interrupts

2015-08-28 Thread Tom Rini
On Mon, Aug 10, 2015 at 04:52:54PM +0530, Kishon Vijay Abraham I wrote: > Writing "0x00" to the USBOTGSS_IRQENABLE_SET_MISC and > USBOTGSS_IRQENABLE_SET_0 doesn't disable the interrupts. Used > USBOTGSS_IRQENABLE_CLR_MISC and USBOTGSS_IRQENABLE_CLR_0 instead. > > Signed-off-by: Kishon Vijay Abrah

Re: [U-Boot] [U-Boot, v2] omap-common: SYS_BOOT fallback logic correction and support for more devices

2015-08-28 Thread Tom Rini
On Thu, Aug 27, 2015 at 10:46:09AM +0200, Paul Kocialkowski wrote: > The SYS_BOOT-based fallback shouldn't only check for one of the conditions of > use and then let the switch/case handle each boot device without enforcing the > conditions for each type of boot device again. > > For instance, th

Re: [U-Boot] at91sam9rlek: add missing files to MAINTAINERS

2015-08-28 Thread Tom Rini
On Wed, Aug 19, 2015 at 10:31:31AM +0200, Andreas Bießmann wrote: > This fixes following genboardscfg.py warning: > Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de h

Re: [U-Boot] at91sam9260ek: add missing files to MAINTAINERS

2015-08-28 Thread Tom Rini
On Wed, Aug 19, 2015 at 10:32:20AM +0200, Andreas Bießmann wrote: > This fixes the following genboardscfg.py warnings: > Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx

Re: [U-Boot] picosam9g45: adopt CONFIG_SYS_PROMPT

2015-08-28 Thread Tom Rini
On Tue, Aug 25, 2015 at 09:48:16AM +0200, Andreas Bießmann wrote: > Commit 181bd9dc61d2da88b78f1c1138a685dae39354d6 introduced Kconfig selection > for SYS_PROMPT. When applying the new picosam9g45 board this change slipped > through, adopt it. > > Signed-off-by: Andreas Bießmann Applied to u-bo

Re: [U-Boot] [U-Boot,4/5] arm: spear: Enable caches on SPEAr

2015-08-28 Thread Tom Rini
On Tue, Aug 18, 2015 at 09:27:19AM +0200, Stefan Roese wrote: > The designware ethernet driver supports d-cache now. So there is nothing > stopping us now to enable the caches completely on SPEAr. > > Tested on SPEAr600 x600 board. > > Signed-off-by: Stefan Roese > Cc: Viresh Kumar > Cc: Vipin

Re: [U-Boot] ARM: k2l: Fix device speeds

2015-08-28 Thread Tom Rini
On Mon, Aug 17, 2015 at 07:58:34PM +0530, Lokesh Vutla wrote: > ARM supported speeds and init value of core_pll for SDP1200 > are programmed wrong as part for the device speed cleanups. > Fixing it here. > Thanks to "Vitaly Andrianov " for bisecting this issue > > Fixes: c37ed9f11b61 ("ARM: keyst

Re: [U-Boot] [U-Boot, RESEND, v6] mtd/nand/ubi: assortment of alignment fixes

2015-08-28 Thread Tom Rini
On Tue, Aug 18, 2015 at 01:06:37PM +0200, Marcel Ziswiler wrote: > From: Marcel Ziswiler > > Various U-Boot adoptions/extensions to MTD/NAND/UBI did not take buffer > alignment into account which led to failures of the following form: > > ERROR: v7_dcache_inval_range - start address is not alig

Re: [U-Boot] [U-Boot, 3/5] usb: spear: Add support for both SPEAr600 EHCI controllers

2015-08-28 Thread Tom Rini
On Tue, Aug 18, 2015 at 09:27:18AM +0200, Stefan Roese wrote: > USB EHCI on SPEAr600 has not been tested for a while. The base controller > addresses are missing. This patch adds the defines to the header. And adds > the missing code. > > Signed-off-by: Stefan Roese > Cc: Viresh Kumar > Cc: Vip

Re: [U-Boot] [U-Boot, 2/5] arm: spear: Move to common SPL infrastructure

2015-08-28 Thread Tom Rini
On Tue, Aug 18, 2015 at 09:27:17AM +0200, Stefan Roese wrote: > The SPL implementation for SPEAr600 is older than the common SPL > infrastructure. This patch now moves the SPEAr600 SPL over to the > common SPL code. > > Tested on the only SPEAr board that currently uses SPL in mainline > U-Boot,

Re: [U-Boot] [U-Boot,5/5] ARM: keystone2: Update README

2015-08-28 Thread Tom Rini
On Mon, Aug 17, 2015 at 07:54:52PM +0530, Lokesh Vutla wrote: > Update README to include uart boot mode support and makefile > changes. > > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [U-Boot, 1/5] arm: spear: Fix booting - relocate vector table to 0 (low-vector)

2015-08-28 Thread Tom Rini
On Tue, Aug 18, 2015 at 09:27:16AM +0200, Stefan Roese wrote: > Booting SPEAr600 eval board doesn't work with current mainline U-Boot. With > this patch the low-vector bit is left to '0'. Resulting in the common > relocation of the vectors to 0 (SDRAM) to work correctly. > > Tested on the SPEAr60

Re: [U-Boot] [U-Boot, 3/5] ARM: keystone2: Rename u-boot-nand.gph to MLO

2015-08-28 Thread Tom Rini
On Mon, Aug 17, 2015 at 07:54:50PM +0530, Lokesh Vutla wrote: > NAND boot mode, ROM expects an image with a gp header in the > beginning and an 8bytes filled with zeros at the end. The same is > true for SD boot on K2G platforms but the file name should be MLO. > > Renaming u-boot-nand.gph to MLO

Re: [U-Boot] [U-Boot,4/5] ARM: keystone2: Build MLO by default

2015-08-28 Thread Tom Rini
On Mon, Aug 17, 2015 at 07:54:51PM +0530, Lokesh Vutla wrote: > MLO(NAND/MMC boot image), is used for all the ks2 platforms. > Enabling it in config.mk so that these images will be automatically > built upon calling make. u-boot-spi.gph is already the build target, > so not including here. > > Re

Re: [U-Boot] malloc_simple: Correct the alignment logic in memalign_simple()

2015-08-28 Thread Tom Rini
On Fri, Aug 14, 2015 at 01:26:43PM -0600, Simon Glass wrote: > This should use the align parameter, not bytes. Natural alignment is one > use case but should not be the only one supported by this function. > > Signed-off-by: Simon Glass > Reviewed-by: Tom Rini Applied to u-boot/master, thanks!

Re: [U-Boot] [U-Boot, v3, 1/2] Makefile: Use correct timezone for U_BOOT_TZ

2015-08-28 Thread Tom Rini
On Thu, Aug 13, 2015 at 06:08:27PM +1200, Chris Packham wrote: > When building with SOURCE_DATE_EPOCH the timezone is in UTC. When > building normally the timezone is taken from the build machine's locale > setting. > > Signed-off-by: Chris Packham > Tested-by: Bin Meng > Tested-by: Paul Kocial

Re: [U-Boot] [U-Boot, 3/3] ARM: DRA74-evm: Use SMA_1 spare register to workaround DP83865 phy on SR2.0

2015-08-28 Thread Tom Rini
On Thu, Aug 13, 2015 at 09:51:00AM -0500, Nishanth Menon wrote: > DP83865 ethernet phy used on DRA74x-evm is quirky and the datasheet > provided IODELAY values for standard RGMII phys do not work. > > Silicon Revision(SR) 2.0 provides an alternative bit configuration > that allows us to do a "gro

Re: [U-Boot] env_mmc: Properly prefix mmc errors with '!'

2015-08-28 Thread Tom Rini
On Sat, Aug 15, 2015 at 08:05:01PM +0200, Hans de Goede wrote: > The set_default_env() function from env_common.c expects either > a fully formatted error msg, e.g.: "## Resetting to default environment\n" > or an error msg prefixed with an !, in which case it will format it. > > Fix the init_mmc

Re: [U-Boot] [U-Boot,1/3] ARM: DRA7: Add detection of ES2.0

2015-08-28 Thread Tom Rini
On Thu, Aug 13, 2015 at 09:50:58AM -0500, Nishanth Menon wrote: > Add support for detection of ES2.0 version of DRA7 family of > processors. ES2.0 is an incremental revision with various fixes > including the following: > - reset logic fixes > - few assymetric aging logic fixes > - MMC clock rate

Re: [U-Boot] [U-Boot, 2/2] NDS32: Generic Board Support and Unsupport

2015-08-28 Thread Tom Rini
On Mon, Aug 24, 2015 at 02:52:36PM +0800, kunhuahuang wrote: > From: Kun-Hua Huang > > Remove ag101 and ag102 support > > Signed-off-by: Kun-Hua Huang Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [U-Boot, 1/2] NDS32: Generic Board Support and Unsupport

2015-08-28 Thread Tom Rini
On Mon, Aug 24, 2015 at 02:52:35PM +0800, kunhuahuang wrote: > From: Kun-Hua Huang > > Add nds32 ag101p generic board support. > > Signed-off-by: Kun-Hua Huang Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] rpi: set fdt_addr_r to 0x00000100 to match default device_tree_address

2015-08-28 Thread Tom Rini
On Sat, Aug 22, 2015 at 08:27:17PM +1000, Jonathan Liu wrote: > Raspberry Pi by default loads the FDT to 0x0100 so set fdt_addr_r to > match and move scriptaddr to 0x0200 to avoid clobbering the FDT. > > Signed-off-by: Jonathan Liu Applied to u-boot/master, thanks! -- Tom signature.

Re: [U-Boot] image: Fix loop condition to avoid warning

2015-08-28 Thread Tom Rini
On Thu, Aug 20, 2015 at 11:45:43AM +0200, Thierry Reding wrote: > From: Thierry Reding > > GCC 5.1 starts warning for comparisons such as !a > 0, assuming that the > negation was meant to apply to the whole expression rather than just the > left operand. > > Indeed the comparison in the FIT loa

[U-Boot] [PATCH v2 5/8] arm: Switch 32-bit ARM to using generic global_data setup

2015-08-28 Thread Simon Glass
There is quite a bit of assembler code that can be removed if we use the generic global_data setup. Less arch-specific code makes it easier to add new features and maintain the start-up code. Drop the unneeded code and adjust the hooks in board_f.c to cope. Signed-off-by: Simon Glass --- Change

[U-Boot] [PATCH v2 7/8] zynq: Move SPL console init out of board_init_f()

2015-08-28 Thread Simon Glass
We should not init the console this early and there is no need to. If we want to do early init it can be done in spl_board_init(). Move the preloader_console_init() call from board_init_f() to board_init_r(). Signed-off-by: Simon Glass Tested-by: Masahiro Yamada --- Changes in v2: None arch/a

[U-Boot] [PATCH v2 3/8] board_init_f_mem(): Don't create an unused early malloc() area

2015-08-28 Thread Simon Glass
Change the #ifdef so that the early malloc() area is not set up in SPL if CONFIG_SYS_SPL_MALLOC_START is defined. In that case it would never actually be used, and just chews up stack space. Signed-off-by: Simon Glass Tested-by: Masahiro Yamada --- Changes in v2: None common/init/board_init.c

[U-Boot] [PATCH v2 6/8] microblaze: Add a TODO to call board_init_f_mem()

2015-08-28 Thread Simon Glass
This C function should be used to do the early memory layout and init. This is beyond my powers, so just add a TODO for the maintainer. Signed-off-by: Simon Glass --- Changes in v2: None arch/microblaze/cpu/start.S | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/microblaze/cpu/start

[U-Boot] [PATCH v2 4/8] arm: Switch aarch64 to using generic global_data setup

2015-08-28 Thread Simon Glass
There is quite a bit of assembler code that can be removed if we use the generic global_data setup. Less arch-specific code makes it easier to add new features and maintain the start-up code. Drop the unneeded code and adjust the hooks in board_f.c to cope. Tested on LS2085ARDB and LS2085AQDS (ar

[U-Boot] [PATCH v2 8/8] Revert "ARM: zynq: disable CONFIG_SYS_MALLOC_F to fix MMC boot"

2015-08-28 Thread Simon Glass
This reverts commit 321f86e18d6aae9f7b7ba3ef1eb0cec769481874. The original bug has been fixed. Signed-off-by: Simon Glass Tested-on: Zedboard and ZC706 board Tested-by: Masahiro Yamada --- Changes in v2: None configs/zynq_microzed_defconfig| 1 - configs/zynq_zc702_defconfig | 1 -

[U-Boot] [PATCH v2 2/8] board_init_f_mem(): Don't require memset()

2015-08-28 Thread Simon Glass
Unfortunately memset() is not always available, so provide a substitute when needed. Signed-off-by: Simon Glass --- Changes in v2: - Add comments as to why this is needed, deal with arch-specific memset() common/init/board_init.c | 18 ++ 1 file changed, 18 insertions(+) diff

Re: [U-Boot] [PATCH 1/3] config_distro_bootcmd.h: Use a private variable for bootpart

2015-08-28 Thread Stephen Warren
On 08/28/2015 06:01 AM, Sjoerd Simons wrote: > Hush has an oddity where using ${var} causes var to resolved in the the global > address space (iotw the environment) first and only afterwards will the local > variable space be searched. > > This causes odd side-effects when iterating over the boot

Re: [U-Boot] [U-Boot, 1/2] ti: armv7: enable EXT support in SPL (using ti_armv7_common.h)

2015-08-28 Thread Ash Charles
Hi, Kevin Hilman kindly tested on an original Beagle board (i.e. "OMAP3530-GP ES3.0") and sees the same failure. I'd say THUMB mode in SPL isn't working for OMAP35xx-based systems. Any suggestions on how to debug/resolve this issue short of simply reverting? --Ash On Thu, Jul 30, 2015 at 12:58

Re: [U-Boot] [PATCH 3/3] x86: bayleybay: Change default vga bios rom address

2015-08-28 Thread Simon Glass
On 27 August 2015 at 09:38, Bin Meng wrote: > With multiple microcode blobs included, the generated u-boot-dtb.bin > leaves merely several hundred bytes before the vga bios. Change the > vga bios rom address to make a bigger room for u-boot-dtb.bin. > > Signed-off-by: Bin Meng > --- > > configs/

Re: [U-Boot] [PATCH 2/3] x86: doc: Change to use CONFIG_VGA_BIOS_ADDR

2015-08-28 Thread Simon Glass
On 27 August 2015 at 09:38, Bin Meng wrote: > CONFIG_X86_OPTION_ROM_ADDR has been renamed to CONFIG_VGA_BIOS_ADDR. > Update the doc to refer to the new name. > > Signed-off-by: Bin Meng > --- > > doc/README.x86 | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Acked-by: Simon Glass Teste

Re: [U-Boot] [PATCH 1/3] x86: ifdtool: Support checking region overlap before U-Boot

2015-08-28 Thread Simon Glass
On 27 August 2015 at 10:01, Andy Pont wrote: > Bin wrote... > >> We have the capability to check regions written after U-Boot that >> do not overlap. Since regions can also be written before U-Boot, >> add such check for these too. >> >> Signed-off-by: Bin Meng >> --- > > This fixes the issue I r

Re: [U-Boot] [PATCH 03/10] Kconfig: add CONFIG_BOOTDELAY

2015-08-28 Thread Simon Glass
Hi Igor, On 26 August 2015 at 08:54, Igor Grinberg wrote: > Add CONFIG_BOOTDELAY to the Kconfig. > To make the transition easier, we define CONFIG_AUTOBOOT_BOOTDELAY to > actually enable the CONFIG_BOOTDELAY Kconfig setting. > Once all boards finish transitioning to Kconfig, we can remove the > C

Re: [U-Boot] [PATCH 02/10] Kconfig: fix typo in CONFIG_FIT description

2015-08-28 Thread Simon Glass
On 26 August 2015 at 08:54, Igor Grinberg wrote: > Fix typo in CONFIG_FIT description - remove the accidentially added > redundand 'the'. > > Signed-off-by: Igor Grinberg > Cc: Masahiro Yamada > Cc: Simon Glass > --- > Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-b

Re: [U-Boot] [PATCH] common/image.c: Make boot_get_ramdisk() perform a check for Android images

2015-08-28 Thread Tom Rini
On Fri, Aug 28, 2015 at 10:35:50AM -0500, Rob Herring wrote: > On Thu, Aug 27, 2015 at 4:47 PM, Tom Rini wrote: > > On Thu, Aug 27, 2015 at 04:04:30PM -0500, Rob Herring wrote: > >> On Thu, Aug 27, 2015 at 2:42 PM, Tom Rini wrote: > >> > In 2dd4632 the check for where a ramdisk is found on an And

Re: [U-Boot] [PATCH] common/image.c: Make boot_get_ramdisk() perform a check for Android images

2015-08-28 Thread Rob Herring
On Thu, Aug 27, 2015 at 4:47 PM, Tom Rini wrote: > On Thu, Aug 27, 2015 at 04:04:30PM -0500, Rob Herring wrote: >> On Thu, Aug 27, 2015 at 2:42 PM, Tom Rini wrote: >> > In 2dd4632 the check for where a ramdisk is found on an Android image >> > was got moved into the "normal" loop here, causing pe

Re: [U-Boot] [PATCH v2 1/4] ubifs: Modify ubifs u-boot wrapper function prototypes for generic fs use

2015-08-28 Thread Heiko Schocher
Hello tom, Am 28.08.2015 um 16:52 schrieb Tom Rini: On Tue, Aug 25, 2015 at 01:32:05PM +0200, Hans de Goede wrote: Hi, On 25-08-15 13:00, Heiko Schocher wrote: Hello Hans, Am 22.08.2015 um 20:04 schrieb Hans de Goede: Modify the ubifs u-boot wrapper function prototypes for generic fs use, a

Re: [U-Boot] [PATCH 1/2] add generic stubs for GPIO LEDs

2015-08-28 Thread Tom Rini
On Mon, Aug 24, 2015 at 11:51:46AM +0200, Bernhard Nortmann wrote: > Hello Simon! > > Am 23.08.2015 23:21, schrieb Simon Glass: > >Hi Bernard, > > > >[...] > >If this is a new option it should be added to Kconfig. Otherwise: > > > >Reviewed-by: Simon Glass > Right. Kconfig wasn't on my agenda, bu

Re: [U-Boot] [PATCH v2 1/4] ubifs: Modify ubifs u-boot wrapper function prototypes for generic fs use

2015-08-28 Thread Tom Rini
On Tue, Aug 25, 2015 at 01:32:05PM +0200, Hans de Goede wrote: > Hi, > > On 25-08-15 13:00, Heiko Schocher wrote: > >Hello Hans, > > > >Am 22.08.2015 um 20:04 schrieb Hans de Goede: > >>Modify the ubifs u-boot wrapper function prototypes for generic fs use, > >>and give them their own header file.

[U-Boot] [RFC PATCH v2] arm: cache_v7: fix dcache invalidation

2015-08-28 Thread Markus Niebel
From: Markus Niebel according to http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.faqs/ka14802.html and the clarification given by Marc Rutland of ARM data cache invalidation should go from outer to inner cache. This patch corrects the order in flush_dcache_range flush_dcache_all

Re: [U-Boot] [RFC PATCH] arm: cache_v7: fix dcache invalidation

2015-08-28 Thread Markus Niebel
Am 28.08.2015 um 15:37 schrieb Hannes Schmelzer: > Hi Markus, > > On 2015-08-28 15:12, Markus Niebel wrote: >> /* >> diff --git a/include/configs/tqma6.h b/include/configs/tqma6.h >> index f7fade1..0a0cbbe 100644 >> --- a/include/configs/tqma6.h >> +++ b/include/configs/tqma6.h >> @@ -111,10 +

[U-Boot] [PATCH 6/7] Exynos: add internal ADC driver

2015-08-28 Thread Przemyslaw Marczak
This commit adds driver for Voltage Level Monitor based on 12-bit resolution internal ADC with 9-channel multiplexer. New function: - exynos_adc_read_channel(int channel) - returns an 12-bit average value after 8 time conversion, done by the hardware. The default sample rate is: 600kSPS. The c

[U-Boot] [PATCH 4/7] dm: pmic: add s2mps11 PMIC I/O driver

2015-08-28 Thread Przemyslaw Marczak
This driver allows I/O operations on the Samsung S2MPS11 PMIC, which provides lots of LDO/BUCK outputs. To enable it, update defconfig with: - CONFIG_DM_PMIC_S2MPS11 and additional, if were not defined: - CONFIG_CMD_PMIC - CONFIG_ERRNO_STR The binding info: doc/device-tree-bindings/pmic/s2mps11.t

[U-Boot] [PATCH 7/7] exynos5-dt: add board detection for Odroid XU3/XU3L/XU4.

2015-08-28 Thread Przemyslaw Marczak
There are few revisions of Odroid XU3/XU4: Rev ADC Board 0.1 0 XU3 0.1 0.2 372 XU3 0.2 | XU3L - no DISPLAYPORT 0.3 739 XU4 0.1 This commit adds implementation of functions: - set_board_type() - read ADC and set type - get_board_rev() - returns board revision: 1..3 -

[U-Boot] [PATCH 0/7] Add board detection for Odroid XU3 / XU3Lite / XU4

2015-08-28 Thread Przemyslaw Marczak
This patchset adds: - define the CPU name for Chromebook Peach Pi as Exynos5800 - set the cpu id of Exynos5422 to 0x5422 - S2MPS11 PMIC I/O driver - Exynos5420-compatible (9-channel, 12-bit) ADC driver - board detection for Odroid XU3 / XU3lite / XU4 This was tested on Odroid XU3 and XU3 Lite, wit

[U-Boot] [PATCH 3/7] Exynos5422/5800: set cpu id to 0x5422

2015-08-28 Thread Przemyslaw Marczak
The proper CPU ID for those Exynos variants is 0x5422, but before the 0x5800 was set. This commit fix this back. Changes: - set cpu id to 0x5422 instead of 0x5800 - remove macro proid_is_exynos5800() - add macro proid_is_exynos5422() - change the calls to proid_is_exynos5800() with new macro Sign

[U-Boot] [PATCH 5/7] odroid-xu3: enable s2mps11 PMIC support

2015-08-28 Thread Przemyslaw Marczak
Signed-off-by: Przemyslaw Marczak --- arch/arm/dts/exynos5422-odroidxu3.dts | 7 +++ configs/odroid-xu3_defconfig | 3 +++ 2 files changed, 10 insertions(+) diff --git a/arch/arm/dts/exynos5422-odroidxu3.dts b/arch/arm/dts/exynos5422-odroidxu3.dts index d0a8621..9dec679 100644 ---

[U-Boot] [PATCH 1/7] s5p: cpu_info: use defined CPU name if available

2015-08-28 Thread Przemyslaw Marczak
The CPU name for Exynos was concatenated with cpu id, but for new Exynos platforms, like Chromebook Peach Pi based on Exynos5800, the name of SoC variant does not include the real SoC cpu id (0x5422). For such case, the CPU name should be defined by the config file. This commit introduces new con

[U-Boot] [PATCH 2/7] peach-pi: define CPU name for SoC Exynos5800

2015-08-28 Thread Przemyslaw Marczak
This platform is based on Exynos5800 but the cpu id is 0x5422. This doesn't fit the common Exynos SoC name convention, so now, the CPU name is defined in config, to be printed properly. Signed-off-by: Przemyslaw Marczak --- include/configs/peach-pi.h | 2 ++ 1 file changed, 2 insertions(+) diff

[U-Boot] [PATCH 2/2] mmc: dw_mmc: Make timeout error visible to u-boot console

2015-08-28 Thread Lukasz Majewski
The timeout error for DW MMC transfer should be visible on the u-boot console to speed up the process of debugging. Signed-off-by: Lukasz Majewski Cc: Tom Rini Cc: Simon Glass --- drivers/mmc/dw_mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/dw_mmc.c b/dr

[U-Boot] [PATCH 1/2] mmc: dw_mmc: Increase timeout to 20 seconds

2015-08-28 Thread Lukasz Majewski
The commit: d9dbb97be0e4a550457aec5f11afefb446169c90 "mmc: dw_mmc: Zap endless timeout" removed endless loop waiting for end of dw mmc transfer. For some workloads - dfu test @ Odroid XU3 (sending 8MiB file) - and SD cards (e.g. MicroSD Kingston 4GiB, Adata 4GiB) the default timeout is to short.

Re: [U-Boot] [RFC PATCH] arm: cache_v7: fix dcache invalidation

2015-08-28 Thread Hannes Schmelzer
Hi Markus, On 2015-08-28 15:12, Markus Niebel wrote: /* diff --git a/include/configs/tqma6.h b/include/configs/tqma6.h index f7fade1..0a0cbbe 100644 --- a/include/configs/tqma6.h +++ b/include/configs/tqma6.h @@ -111,10 +111,11 @@ #define CONFIG_ARP_TIMEOUT 200UL /* Network config

[U-Boot] [PATCH 1/3] ARM: dts: uniphier: sync with Linux

2015-08-28 Thread Masahiro Yamada
This commit imports device tree updates from Linux. It eventually adds pinctrl-related nodes and properties. Signed-off-by: Masahiro Yamada --- arch/arm/dts/uniphier-ph1-ld4-ref.dts | 22 --- arch/arm/dts/uniphier-ph1-ld4.dtsi | 95 +++-- arch/arm/dts/uniphie

[U-Boot] [PATCH 2/3] ARM: dts: uniphier: add PH1-Pro5 SoC support

2015-08-28 Thread Masahiro Yamada
Initial version of UniPhier PH1-Pro5 device tree. (Imported from Linux with adjustment for SPDX License Identifier) Signed-off-by: Masahiro Yamada --- arch/arm/dts/uniphier-ph1-pro5.dtsi | 216 1 file changed, 216 insertions(+) create mode 100644 arch/arm/

[U-Boot] [PATCH 3/3] ARM: dts: uniphier: add ProXstream2 and PH1-LD6b SoC/board support

2015-08-28 Thread Masahiro Yamada
Initial version of DTSI for ProXstream2 and PH1-LD6b and DTS for PH1-LD6b reference board. Import from Linux with some adjustments: - Use SPDX-License-Identifier - Add clock-frequency to serial nodes - Drop unusable nodes from -ref.dts While I am here, sort Makefile entries alphabetically.

[U-Boot] [RFC PATCH] arm: cache_v7: fix dcache invalidation

2015-08-28 Thread Markus Niebel
From: Markus Niebel according to http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.faqs/ka14802.html and the clarification given by Marc Rutland of ARM data cache invalidation should go from outer to inner cache. This patch corrects the order in flush_dcache_range flush_dcache_all

  1   2   >