[U-Boot] [PATCH] defconfig: am335x: gp_evm: enable ethernet driver model

2015-09-02 Thread Mugunthan V N
enable ethernet driver model for am335x gp evm as cpsw supports driver model Signed-off-by: Mugunthan V N --- Tested the patch on am335x gp evm, logs [1] and pushed a branch [2] for others to test, This patch is based in [3]. [1]: http://pastebin.ubuntu.com/12260992/ [2]: git://git.ti.com/~mugu

Re: [U-Boot] [PATCH 1/2] arm: socfpga: mmc: Enable calibration for drvsel and smpsel

2015-09-02 Thread Jaehoon Chung
Hi, On 09/03/2015 09:27 AM, Chin Liang See wrote: > On Wed, 2015-09-02 at 12:32 +0200, ma...@denx.de wrote: [snip] > > Would want to hear more from Jaehoon as Exynos and SOCFPGA are the one > setting up these values. Since this approach is not based on dwmmc TRM, it's base

Re: [U-Boot] v2015.10-rc2: timer not initialized on Kirkwood

2015-09-02 Thread Stefan Roese
Hi Simon, On 02.09.2015 17:49, Simon Guinot wrote: While testing U-Boot v2015.10-rc2 on the Kirkwood-based LaCie boards I noticed that the autoboot counter is not decrementing. It stays stuck at '3' endlessly. After some digging, I found out that this regression is due to the commit: ade741b3896

Re: [U-Boot] [PATCH v2 09/11] net: designware: Add support to PCI designware devices

2015-09-02 Thread Bin Meng
Hi Simon, On Wed, Sep 2, 2015 at 10:05 PM, Simon Glass wrote: > Hi Bin, > > On 2 September 2015 at 03:17, Bin Meng wrote: >> The Designware ethernet controller is also seen on PCI bus, e.g. >> on Intel Quark SoC. Add this support in the DM version driver. >> >> Signed-off-by: Bin Meng >> >> ---

Re: [U-Boot] [PATCH v2 05/11] x86: quark: Add USB PHY initialization support

2015-09-02 Thread Bin Meng
Hi Simon, On Wed, Sep 2, 2015 at 10:05 PM, Simon Glass wrote: > Hi Bin, > > On 2 September 2015 at 03:17, Bin Meng wrote: >> USB PHY needs to be properly initialized per Quark firmware writer >> guide, otherwise the EHCI controller on Quark SoC won't work. >> >> Signed-off-by: Bin Meng >> >> --

Re: [U-Boot] [PATCH v2 03/11] x86: Enable PCIe controller on quark/galileo

2015-09-02 Thread Bin Meng
Hi Simon, On Wed, Sep 2, 2015 at 10:05 PM, Simon Glass wrote: > Hi Bin, > > On 2 September 2015 at 03:17, Bin Meng wrote: >> Quark SoC holds the PCIe controller in reset following a power on. >> U-Boot needs to release the PCIe controller from reset. The PCIe >> controller (D23:F0/F1) will not b

Re: [U-Boot] [PATCH v2 01/11] x86: quark: Optimize MRC execution time

2015-09-02 Thread Bin Meng
Hi Simon, On Wed, Sep 2, 2015 at 10:05 PM, Simon Glass wrote: > Hi Bin, > > On 2 September 2015 at 03:17, Bin Meng wrote: >> Intel Quark SoC has a low end x86 processor with only 400MHz >> frequency. Currently it takes about 15 seconds for U-Boot to >> boot to shell and the most time consuming p

[U-Boot] [PATCH v2 2/2] Move ALLOC_CACHE_ALIGN_BUFFER() to the new memalign.h header

2015-09-02 Thread Simon Glass
Now that we have a new header file for cache-aligned allocation, we should move the stack-based allocation macro there also. Signed-off-by: Simon Glass --- Changes in v2: - Add a new patch to move ALLOC_CACHE_ALIGN_BUFFER() to the new header board/raspberrypi/rpi/rpi.c | 1 + board/samsung/

Re: [U-Boot] [PATCH] Revert "fdt: Fix fdtdec_get_addr_size() for 64-bit"

2015-09-02 Thread Tom Warren
> -Original Message- > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > Sent: Wednesday, September 02, 2015 4:44 PM > To: Tom Warren; Simon Glass > Cc: U-Boot Mailing List; Thierry Reding; Tom Rini > Subject: Re: [U-Boot] [PATCH] Revert "fdt: Fix fdtdec_get_addr_size() for 64- > bit" >

Re: [U-Boot] [PATCH 1/2] arm: socfpga: mmc: Enable calibration for drvsel and smpsel

2015-09-02 Thread Chin Liang See
On Wed, 2015-09-02 at 12:32 +0200, ma...@denx.de wrote: > On Tuesday, September 01, 2015 at 04:53:44 PM, Dinh Nguyen wrote: > > On 09/01/2015 05:12 AM, Jaehoon Chung wrote: > > > On 09/01/2015 06:10 PM, Chin Liang See wrote: > > >> On Tue, 2015-09-01 at 11:01 +0200, ma...@denx.de wrote: > > >>> On

Re: [U-Boot] [PATCH] Revert "fdt: Fix fdtdec_get_addr_size() for 64-bit"

2015-09-02 Thread Stephen Warren
On 09/02/2015 01:54 PM, Stephen Warren wrote: > On 09/02/2015 01:39 PM, Tom Warren wrote: >> >> >>> -Original Message- >>> From: Stephen Warren >>> Sent: Wednesday, September 02, 2015 1:05 PM >>> To: Tom Warren; Simon Glass >>> Cc: Bin Meng; Thierry Reding; Tom Rini; U-Boot Mailing List >>>

[U-Boot] [PATCH] sunxi: Ensure that 'mksunxiboot' tool produces deterministic output

2015-09-02 Thread Siarhei Siamashka
Currently some uninitialized padding bytes are written to the output file, as can be confirmed with valgrind: $ valgrind tools/mksunxiboot spl/u-boot-spl.bin spl/sunxi-spl.bin ==5581== Syscall param write(buf) points to uninitialised byte(s) ==5581==at 0x4F0F940: __write_nocancel (in /lib64/l

[U-Boot] [PATCH v2 1/2] Move malloc_cache_aligned() to its own header

2015-09-02 Thread Simon Glass
At present malloc.h is included everywhere since it recently was added to common.h in this commit: 4519668 mtd/nand/ubi: assortment of alignment fixes This seems wasteful and unnecessary. We have been trying to trim down common.h and put separate functions into separate header files and that c

Re: [U-Boot] What's purpose of DEV_FLAGS_SYSTEM and DEV_EXT_VIDEO?

2015-09-02 Thread Anatolij Gustschin
Hi Bin, On Mon, 17 Aug 2015 13:09:20 +0800 Bin Meng wrote: ... > I plan to send a patch to remove the DEV_FLAGS_SYSTEM and > DEV_EXT_VIDEO. They look useless to me. For example, > > $ grep -nr DEV_FLAGS_SYSTEM * ... > drivers/video/cfb_console.c:2296: console_dev.flags = > DEV_FLAGS_OUTPUT

Re: [U-Boot] [PATCH] Revert "fdt: Fix fdtdec_get_addr_size() for 64-bit"

2015-09-02 Thread Stephen Warren
On 09/02/2015 01:39 PM, Tom Warren wrote: > > >> -Original Message- >> From: Stephen Warren >> Sent: Wednesday, September 02, 2015 1:05 PM >> To: Tom Warren; Simon Glass >> Cc: Bin Meng; Thierry Reding; Tom Rini; U-Boot Mailing List >> Subject: Re: [U-Boot] [PATCH] Revert "fdt: Fix fdtdec

Re: [U-Boot] [U-Boot, v2, 8/9] powerpc: mpc5xx: remove cmi_mpc5xx support

2015-09-02 Thread Tom Rini
On Wed, Sep 02, 2015 at 10:40:29AM +0900, Masahiro Yamada wrote: > This has not been converted to Generic Board, so should be removed. > (See doc/README.generic-board for details.) > > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital

Re: [U-Boot] Convert omap3_logic to ti_omap3_common.h

2015-09-02 Thread Tom Rini
On Wed, Sep 02, 2015 at 09:18:20AM -0500, Adam Ford wrote: > Convert to using the common config files. > > Signed-off-by: Adam Ford > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [U-Boot, v2, 6/9] powerpc: ppc4xx: remove sbc405 support

2015-09-02 Thread Tom Rini
On Wed, Sep 02, 2015 at 10:40:27AM +0900, Masahiro Yamada wrote: > This has not been converted to Generic Board, so should be removed. > (See doc/README.generic-board for details.) > > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital

Re: [U-Boot] [U-Boot, v2, 9/9] powerpc: mpc85xx: remove stxgp3, stxssa support

2015-09-02 Thread Tom Rini
On Wed, Sep 02, 2015 at 10:40:30AM +0900, Masahiro Yamada wrote: > These have not been converted to Generic Board, so should be removed. > (See doc/README.generic-board for details.) > > Signed-off-by: Masahiro Yamada > Cc: Dan Malek Applied to u-boot/master, thanks! -- Tom signature.asc D

Re: [U-Boot] [U-Boot, v2, 4/9] powerpc: ppc4xx: remove p3p440 support

2015-09-02 Thread Tom Rini
On Wed, Sep 02, 2015 at 10:40:25AM +0900, Masahiro Yamada wrote: > This has not been converted to Generic Board, so should be removed. > (See doc/README.generic-board for details.) > > Signed-off-by: Masahiro Yamada > Cc: Stefan Roese Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [U-Boot, v2, 5/9] powerpc: ppc4xx: remove pcs440ep support

2015-09-02 Thread Tom Rini
On Wed, Sep 02, 2015 at 10:40:26AM +0900, Masahiro Yamada wrote: > This has not been converted to Generic Board, so should be removed. > (See doc/README.generic-board for details.) > > Signed-off-by: Masahiro Yamada > Cc: Stefan Roese Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [U-Boot,v2,7/9] powerpc: ppc4xx: remove zeus support

2015-09-02 Thread Tom Rini
On Wed, Sep 02, 2015 at 10:40:28AM +0900, Masahiro Yamada wrote: > This has not been converted to Generic Board, so should be removed. > (See doc/README.generic-board for details.) > > Signed-off-by: Masahiro Yamada > Cc: Stefan Roese Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [U-Boot,v2,1/9] powerpc: ppc4xx: remove alpr support

2015-09-02 Thread Tom Rini
On Wed, Sep 02, 2015 at 10:40:22AM +0900, Masahiro Yamada wrote: > This has not been converted to Generic Board, so should be removed. > (See doc/README.generic-board for details.) > > Signed-off-by: Masahiro Yamada > Cc: Stefan Roese Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] mkimage: mxs (mx23_olinuxino) build regression

2015-09-02 Thread Robert Nelson
On Wed, Sep 2, 2015 at 3:52 PM, Otavio Salvador wrote: > On Wed, Sep 2, 2015 at 4:48 PM, Robert Nelson wrote: >> I've just finished bisecting a build error for the mx23_olinuxino platform. >> >> git bisect points to: >> >> http://git.denx.de/?p=u-boot.git;a=commit;h=92a655c326b22de58dcd5371ca1a62

Re: [U-Boot] ea20: Convert to generic board

2015-09-02 Thread Tom Rini
On Tue, Sep 01, 2015 at 04:47:36PM +0200, Stefano Babic wrote: > Boards need to select CONFIG_SYS_GENERIC_BOARD in order to > prevent removal from the project. > > Signed-off-by: Stefano Babic Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v2, 3/9] powerpc: ppc4xx: remove lwmon5 support

2015-09-02 Thread Tom Rini
On Wed, Sep 02, 2015 at 10:40:24AM +0900, Masahiro Yamada wrote: > This has not been converted to Generic Board, so should be removed. > (See doc/README.generic-board for details.) > > Remove CONFIG_LWMON5 references. > (Also, remove undefined CONFIG_WD_MAX_RATE while I am here.) > > Signed-off-

Re: [U-Boot] [U-Boot, v2, 2/9] powerpc: ppc4xx: remove csb272, csb472 support

2015-09-02 Thread Tom Rini
On Wed, Sep 02, 2015 at 10:40:23AM +0900, Masahiro Yamada wrote: > These have not been converted to Generic Board, so should be removed. > (See doc/README.generic-board for details.) > > Signed-off-by: Masahiro Yamada > Cc: Tolunay Orkun Applied to u-boot/master, thanks! -- Tom signature.a

Re: [U-Boot] [PATCH 2/2] configs/titanium_defconfig: Select MX6

2015-09-02 Thread Tom Rini
On Wed, Sep 02, 2015 at 03:43:33PM -0400, Tom Rini wrote: > In 2178282 this config wasn't updated by accident, so update it. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Bo

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

2015-09-02 Thread Tom Rini
On Fri, Aug 28, 2015 at 08:14:21PM +0900, 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 de

Re: [U-Boot] [PATCH 1/2] arch/arm/Kconfig: Add back in missing entries.

2015-09-02 Thread Tom Rini
On Wed, Sep 02, 2015 at 03:43:32PM -0400, Tom Rini wrote: > In 2178282 we accidentally dropped out hilsilicon and cm_t43. Bring > these back in. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] Please pull u-boot-mpc85xx master

2015-09-02 Thread Tom Rini
On Wed, Sep 02, 2015 at 10:26:41AM -0500, York Sun wrote: > Tom, > > The following changes since commit b7e84c93c450480ca4ff51ad2eb56bd83c1dc368: > > Merge branch 'master' of http://git.denx.de/u-boot-sunxi (2015-08-31 > 12:12:27 > -0400) > > are available in the git repository at: > > >

Re: [U-Boot] [PULL] Please pull u-boot-imx

2015-09-02 Thread Tom Rini
On Wed, Sep 02, 2015 at 04:12:18PM +0200, Stefano Babic wrote: > Hi Tom, > > On 02/09/2015 15:45, Stefano Babic wrote: > > Hi Tom, > > > > On 02/09/2015 15:18, Tom Rini wrote: > >> On Wed, Sep 02, 2015 at 11:57:13AM +0200, Stefano Babic wrote: > >> > >>> Hi Tom, > >>> > >>> please pull from u-bo

Re: [U-Boot] Please pull u-boot-fsl-qoriq master

2015-09-02 Thread Tom Rini
On Tue, Sep 01, 2015 at 10:00:22PM -0500, York Sun wrote: > Tom, > > The following changes since commit b7e84c93c450480ca4ff51ad2eb56bd83c1dc368: > > Merge branch 'master' of http://git.denx.de/u-boot-sunxi (2015-08-31 > 12:12:27 > -0400) > > are available in the git repository at: > > >

Re: [U-Boot] mkimage: mxs (mx23_olinuxino) build regression

2015-09-02 Thread Otavio Salvador
On Wed, Sep 2, 2015 at 4:48 PM, Robert Nelson wrote: > I've just finished bisecting a build error for the mx23_olinuxino platform. > > git bisect points to: > > http://git.denx.de/?p=u-boot.git;a=commit;h=92a655c326b22de58dcd5371ca1a62fdc57f8e04 I think it has been fixed and merged today in maste

Re: [U-Boot] [PATCH] Revert "fdt: Fix fdtdec_get_addr_size() for 64-bit"

2015-09-02 Thread Tom Warren
> -Original Message- > From: Stephen Warren > Sent: Wednesday, September 02, 2015 1:05 PM > To: Tom Warren; Simon Glass > Cc: Bin Meng; Thierry Reding; Tom Rini; U-Boot Mailing List > Subject: Re: [U-Boot] [PATCH] Revert "fdt: Fix fdtdec_get_addr_size() for 64- > bit" > > On 09/02/2015 0

Re: [U-Boot] [PATCH] Revert "fdt: Fix fdtdec_get_addr_size() for 64-bit"

2015-09-02 Thread Stephen Warren
On 09/02/2015 09:52 AM, Tom Warren wrote: > Simon, et al, > >> Simon Glass wrote at Friday, August 14, 2015 3:05 AM: >> I plan to apply this revert to u-boot-x86 (where SPI is currently >> broken) and (once it has a bit more testing) also this patch which I think >> makes >> the change in a safer

[U-Boot] u-boot built with gcc5 dies in memcpy()

2015-09-02 Thread Felipe Balbi
Hi, When using u-boot's HEAD built with GCC 5, it hangs on the memcpy() after reading u-boot.img from MMC card. Unfortunately I won't be able to spend a lot of time debugging this, so I thought I'd report. cheers -- balbi signature.asc Description: Digital signature _

Re: [U-Boot] [PATCHv2] arm: socfpga: Add support for the Terasic DE-0 Atlas board

2015-09-02 Thread Sinan Akman
Marek Vasut wrote: On Wednesday, September 02, 2015 at 08:59:57 PM, Marek Vasut wrote: On Wednesday, September 02, 2015 at 08:57:52 PM, Sinan Akman wrote: On 02/09/15 10:18 AM, Dinh Nguyen wrote: On 9/2/15 3:18 AM, Marek Vasut wrote: On Wednesday, September 02, 2015 at 12:41:52 AM, dingu...@o

[U-Boot] mkimage: mxs (mx23_olinuxino) build regression

2015-09-02 Thread Robert Nelson
Hi Simon, I've just finished bisecting a build error for the mx23_olinuxino platform. git bisect points to: http://git.denx.de/?p=u-boot.git;a=commit;h=92a655c326b22de58dcd5371ca1a62fdc57f8e04 to build: make ARCH=arm CROSS_COMPILE=${CC} distclean make ARCH=arm CROSS_COMPILE=${CC} mx23_olinuxin

[U-Boot] [PATCH 2/2] configs/titanium_defconfig: Select MX6

2015-09-02 Thread Tom Rini
In 2178282 this config wasn't updated by accident, so update it. Signed-off-by: Tom Rini --- configs/titanium_defconfig |1 + 1 file changed, 1 insertion(+) diff --git a/configs/titanium_defconfig b/configs/titanium_defconfig index d286fd6..de3c78d 100644 --- a/configs/titanium_defconfig ++

[U-Boot] [PATCH 1/2] arch/arm/Kconfig: Add back in missing entries.

2015-09-02 Thread Tom Rini
In 2178282 we accidentally dropped out hilsilicon and cm_t43. Bring these back in. Signed-off-by: Tom Rini --- arch/arm/Kconfig |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index de0d6fb..5feef97 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfi

Re: [U-Boot] [PATCHv2] arm: socfpga: Add support for the Terasic DE-0 Atlas board

2015-09-02 Thread Sinan Akman
On 02/09/15 10:18 AM, Dinh Nguyen wrote: On 9/2/15 3:18 AM, Marek Vasut wrote: On Wednesday, September 02, 2015 at 12:41:52 AM, dingu...@opensource.altera.com wrote: From: Dinh Nguyen Add support for the Terasic DE0-Nano/Atlas-SoC Kit, which is a CycloneV based board. The board can boot f

Re: [U-Boot] [PATCH] sunxi: (mksunxiboot) signature to indicate "sunxi" SPL variant

2015-09-02 Thread Bernhard Nortmann
Am 02.09.2015 um 16:51 schrieb Siarhei Siamashka: On Wed, 2 Sep 2015 15:17:11 +0200 Bernhard Nortmann wrote: This patch follows up on a discussion of ways to improve support for the sunxi FEL ("USB boot") mechanism, especially with regard to boot scripts, see: https://groups.google.com/d/msg/

Re: [U-Boot] [PATCH 13/13] imx: mx7dsabresd: Add support for MX7D SABRESD board

2015-09-02 Thread Fabio Estevam
On Tue, Sep 1, 2015 at 1:22 PM, Adrian Alonso wrote: > + * Boot Device : one of > + * spi/sd/nand/onenand, qspi/nor > + */ > + > +#ifdef CONFIG_SYS_BOOT_QSPI This config option does not exist in mainline. Please remove it. > +BOOT_FROM qspi > +#elif defined(CONFIG_SYS_BOOT_EIMNOR) Ditto.

Re: [U-Boot] [PATCHv2] arm: socfpga: Add support for the Terasic DE-0 Atlas board

2015-09-02 Thread Marek Vasut
On Wednesday, September 02, 2015 at 08:59:57 PM, Marek Vasut wrote: > On Wednesday, September 02, 2015 at 08:57:52 PM, Sinan Akman wrote: > > On 02/09/15 10:18 AM, Dinh Nguyen wrote: > > > On 9/2/15 3:18 AM, Marek Vasut wrote: > > >> On Wednesday, September 02, 2015 at 12:41:52 AM, > > >> dingu...@

Re: [U-Boot] [PATCHv2] arm: socfpga: Add support for the Terasic DE-0 Atlas board

2015-09-02 Thread Marek Vasut
On Wednesday, September 02, 2015 at 08:57:52 PM, Sinan Akman wrote: > On 02/09/15 10:18 AM, Dinh Nguyen wrote: > > On 9/2/15 3:18 AM, Marek Vasut wrote: > >> On Wednesday, September 02, 2015 at 12:41:52 AM, > >> dingu...@opensource.altera.com > >> > >> wrote: > >>> From: Dinh Nguyen > >>> > >>>

[U-Boot] [PATCH v2 12/13] imx: imx7d: add imx-common cpu support for imx7d

2015-09-02 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 --- Changes for V2: Split patch to easier review process - Add system arch register definitions Changes for V3: Resend Changes for

[U-Boot] [PATCH v2 13/13] imx: mx7dsabresd: Add support for MX7D SABRESD board

2015-09-02 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 v2 08/13] imx: imx7d: Add SoC system support

2015-09-02 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 - V5: Resend Changes for V6: - Remove set_epd

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

2015-09-02 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 Changes for V3: Resend Changes for V4: Resend drivers/thermal/imx_thermal.c | 90 --- 1 file changed, 84 insertions(+), 6 deleti

[U-Boot] [PATCH v2 07/13] imx: imx7d: clock control module support

2015-09-02 Thread Adrian Alonso
* Add Clock control module (CCM) support * iMX7D SoC introduces 3 main clock sysmtem abstraction for clock root frequency generation denominated clock slices. Core clock slice: hihg speed clock for ARM core Bus clock slice: for bus clocks IP clock slice: Peripheral clocks * At system boot R

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

2015-09-02 Thread Adrian Alonso
Rework imx_set_wdog_powerdown to be reused by imx6 and imx7 Signed-off-by: Adrian Alonso --- Changes for V2: Rework for common sys_proto header file Changes for V3: Resend arch/arm/cpu/armv7/mx6/soc.c| 14 -- arch/arm/imx-common/init.c | 21

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

2015-09-02 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 --- Changes for V2: Resend Changes for V3: Resend arch/arm/imx-common/init.c | 44 1 file changed, 20 insertions(

[U-Boot] [PATCH v2 05/13] imx: system counter driver for imx7d and mx6ul

2015-09-02 Thread Adrian Alonso
Add system counter driver for imx7d and mx6ul imx7 and imx6ul supports system counter timer as well as GPT timer (arch/arm/imx-common/timer.c); The default for imx7 is systemcounter timer. Signed-off-by: Ye.Li Signed-off-by: Adrian Alonso --- Changes for V2 to V5: Resend Changes for V6: - Update

[U-Boot] [PATCH v2 01/13] imx: arch-mx6: add is_soc_type helper macro

2015-09-02 Thread Adrian Alonso
Add helper macro is_soc_type to identify iMX SoC family Signed-off-by: Adrian Alonso --- Changes for V2: Rework for common sys_proto header file Changes for V3: Rework for latest master arch/arm/include/asm/arch-imx/cpu.h | 2 ++ arch/arm/include/asm/imx-common/sys_proto.h | 3 +++ 2 fi

[U-Boot] [PATCH v2 04/13] arm: imx: imx-common: init: move arch init common setup

2015-09-02 Thread Adrian Alonso
Move common imx6 arch init setup, init.c can be extended and reused to support imx7 SoC keeping init arch common code. Signed-off-by: Adrian Alonso --- Changes for V2: Resend Changes for V3: Resend arch/arm/cpu/armv7/mx6/soc.c| 87 arch/arm/imx-common/M

[U-Boot] [PATCH v2 02/13] thermal: imx_thermal: rework driver to be reused

2015-09-02 Thread Adrian Alonso
Rework imx_thermal driver to be used across i.MX processor that support thermal sensor Signed-off-by: Adrian Alonso Signed-off-by: Peng Fan --- Changes for V2: Rename read_cpu_temperature to read_cpu_temperature_mx6 use is_soc_type macro to identify iMX SoC family to call the correspondind read_

[U-Boot] [PATCH v2 03/13] arm: imx: common rework cache settings for imx6

2015-09-02 Thread Adrian Alonso
Rework cache settings for imx6, move cache configuration to imx-common/cache.c so it can be reused for newer SoC Signed-off-by: Adrian Alonso --- Changes for V2: Resend Changes for V3: Resend arch/arm/cpu/armv7/mx6/soc.c | 95 --- arch/arm/imx-common/Makefil

Re: [U-Boot] [PATCH 1/3] tpm: Move tpm_tis_i2c to tpm_i2c_infineon

2015-09-02 Thread Christophe Ricard
Hi Simon, Apologies for the delay. I will try to rework this patch end of this week and send it back to you middle of next week. Best Regards Christophe Le 31/08/2015 00:45, Simon Glass a écrit : Hi Chrisophe, On 13 August 2015 at 09:55, Simon Glass wrote: On 9 August 2015 at 07:19, Chris

[U-Boot] [PATCH] ARM: Kirkwood: fix IDE configuration on LaCie boards

2015-09-02 Thread Simon Guinot
From: Simon Guinot On the LaCie boards netspace_max_v2 and net2big_v2, two internal hard drives are available. Additionally on the d2net_v2 board, an extra hard drive can be plugged via eSATA. This patch updates CONFIG_SYS_IDE_MAXBUS and CONFIG_SYS_IDE_MAXDEVICE accordingly for this boards. Sig

Re: [U-Boot] [PATCH v2] arm: socfpga: Fix memory error caused by re-enabling OCRAM ECC

2015-09-02 Thread Marek Vasut
On Wednesday, September 02, 2015 at 07:02:55 PM, Jian Luo wrote: > Re-enabling OCRAM ECC can cause some value changes in SRAM. Just > clear fake interrupt status and keep other bits intact. > > Signed-off-by: Jian Luo > --- > Changes for v2: > - add CC to custodian > > arch/arm/mach-socfp

[U-Boot] [PATCH v2] arm: socfpga: Fix memory error caused by re-enabling OCRAM ECC

2015-09-02 Thread Jian Luo
Re-enabling OCRAM ECC can cause some value changes in SRAM. Just clear fake interrupt status and keep other bits intact. Signed-off-by: Jian Luo --- Changes for v2: - add CC to custodian arch/arm/mach-socfpga/spl.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) di

Re: [U-Boot] [PATCH] Revert "fdt: Fix fdtdec_get_addr_size() for 64-bit"

2015-09-02 Thread Simon Glass
Hi Tom, On 2 September 2015 at 10:52, Tom Warren wrote: > Simon, et al, > >> -Original Message- >> From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass >> Sent: Friday, August 14, 2015 3:05 AM >> To: Bin Meng >> Cc: Michal Suchanek; Tom Rini; Stephen Warren; U-Boot Mail

[U-Boot] [PATCH] arm: socfpga: Fix memory error caused by re-enabling OCRAM ECC

2015-09-02 Thread Jian Luo
Re-enabling OCRAM ECC can cause some value changes in SRAM. Just clear fake interrupt status and keep other bits intact. Signed-off-by: Jian Luo --- arch/arm/mach-socfpga/spl.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/arch/arm/mach-socfpga/spl.c b/arch/a

Re: [U-Boot] [PATCH] Revert "fdt: Fix fdtdec_get_addr_size() for 64-bit"

2015-09-02 Thread Tom Warren
Simon, et al, > -Original Message- > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > Sent: Friday, August 14, 2015 3:05 AM > To: Bin Meng > Cc: Michal Suchanek; Tom Rini; Stephen Warren; U-Boot Mailing List; Tom > Warren; Thierry Reding > Subject: Re: [U-Boot] [PA

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

2015-09-02 Thread Jian Luo
Hi! this error comes again. It isn't a compiler error after all. :( JTAG inspection shows that the problem is located in arch/arm/mach-socfpga/spl.c line94. It seems that re-enable ECC on OCRAM can cause some strange value changes in SRAM. Disabling ECC might also cause value changes, which I

[U-Boot] [PATCH 3/3] arm: mx6: cm-fx6: modify device tree for old revisions of utilite

2015-09-02 Thread Nikita Kiryanov
Old revisions of Utilite (a miniature PC based on cm-fx6) do not have a card detect for mmc, and thus the kernel needs to be told that there's a persistent storage on usdhc3 to force it to probe the mmc card. Check the baseboard revision and modify the device tree accordingly if needed. Cc: Stefa

[U-Boot] [PATCH 2/3] compulab: eeprom: add support for obtaining product name

2015-09-02 Thread Nikita Kiryanov
Introduce cl_eeprom_get_product_name() for obtaining product name from the eeprom. Cc: Stefano Babic Cc: Igor Grinberg Signed-off-by: Nikita Kiryanov --- board/compulab/common/eeprom.c | 19 +++ board/compulab/common/eeprom.h | 5 + 2 files changed, 24 insertions(+) diff

[U-Boot] [PATCH 1/3] compulab: eeprom: select i2c bus when querying for board rev

2015-09-02 Thread Nikita Kiryanov
Add support for selecting which eeprom is queried for board revision by extending cl_eeprom_get_board_rev() to accept an i2c bus number. Cc: Stefano Babic Cc: Igor Grinberg Signed-off-by: Nikita Kiryanov --- board/compulab/cm_fx6/cm_fx6.c | 2 +- board/compulab/cm_t35/cm_t35.c | 2 +- board/co

[U-Boot] [PATCH 0/3] cm-fx6 updates for Utilite

2015-09-02 Thread Nikita Kiryanov
This series provides a fix necessary for early models of Utilite, a miniature desktop based on CM-FX6. It implements a dynamic modification to the device tree that is necessary for mmc boot. Cc: Stefano Babic Cc: Igor Grinberg Nikita Kiryanov (3): compulab: eeprom: select i2c bus when queryin

Re: [U-Boot] [PATCH 03/45] arm: Remove most LaCie boards

2015-09-02 Thread Simon Guinot
On Wed, Sep 02, 2015 at 09:08:48AM -0400, Tom Rini wrote: > On Wed, Sep 02, 2015 at 02:07:41PM +0200, Simon Guinot wrote: > > On Mon, Aug 31, 2015 at 07:16:16AM -0600, Simon Glass wrote: > > > Hi Simon, > > > > > > On 31 August 2015 at 01:51, Simon Guinot > > > wrote: > > > > On Sun, Aug 30, 201

[U-Boot] v2015.10-rc2: timer not initialized on Kirkwood

2015-09-02 Thread Simon Guinot
Hi, While testing U-Boot v2015.10-rc2 on the Kirkwood-based LaCie boards I noticed that the autoboot counter is not decrementing. It stays stuck at '3' endlessly. After some digging, I found out that this regression is due to the commit: ade741b3896b1a3872ff74437f04b50762d05849 "arm: mvebu: Call t

Re: [U-Boot] [PATCH v2 2/2] powerpc/defconfig: Rename defconfig file for T1040QDS/T1024QDS DDR4 targets

2015-09-02 Thread York Sun
On 08/13/2015 12:22 PM, York Sun wrote: > Previously the DDR4 targets were named with _D4. Rename them with > _DDR4 for easy identification. > > Signed-off-by: York Sun > > --- > > Changes in v2: > Drop changes for RDB boards because DDR4 version is actually different > board from DDR3 ve

Re: [U-Boot] [PATCH] powerpc/t1024qds: Add missing T1024QDS_DDR4_defconfig

2015-09-02 Thread York Sun
On 08/07/2015 10:41 AM, York Sun wrote: > T1024QDS with DDR4 has been supported. Add the missing defconfig. > > Signed-off-by: York Sun > CC: Shengzhou Liu > --- Applied to u-boot-mpc85xx master. Awaiting upstream. York ___ U-Boot mailing list U-B

[U-Boot] Please pull u-boot-mpc85xx master

2015-09-02 Thread York Sun
Tom, The following changes since commit b7e84c93c450480ca4ff51ad2eb56bd83c1dc368: Merge branch 'master' of http://git.denx.de/u-boot-sunxi (2015-08-31 12:12:27 -0400) are available in the git repository at: git://git.denx.de/u-boot-mpc85xx.git master for you to fetch changes up to 47deb4b

Re: [U-Boot] [PATCH] powerpc/t1023rdb: change default core frequency to 1200MHz

2015-09-02 Thread York Sun
On 08/21/2015 02:19 AM, Shengzhou Liu wrote: > Per new requirement, change default core frequency > from previous 1400MHz to 1200MHz to save power. > > Signed-off-by: Shengzhou Liu Applied to u-boot-mpc85xx master. Awaiting upstream. York ___ U-Boo

Re: [U-Boot] [PATCH] powerpc: convert selected boards to generic board structure

2015-09-02 Thread York Sun
On 08/18/2015 02:35 PM, York Sun wrote: > Convert MPC8540ADS, MPC8541CDS, MPC8544CDS, MPC8548CDS, MPC8555CDS, > MPC8560ADS, MPC8568MDS, MPC8569MDS, MPC8610HPCD to use generic board > structure. > > Signed-off-by: York Sun > Applied to u-boot-mpc85xx master. Awaiting upstream. York _

Re: [U-Boot] [v2] net/fman: Support both new and legacy FMan Compatibles

2015-09-02 Thread York Sun
On 08/18/2015 06:47 AM, Igal.Liberman wrote: > From: Igal Liberman > > Recently the FMan Port and MAC compatibles were changed. > This patch aligns the FMan Port and MAC compatibles > to the new FMan device tree binding document. > The FMan device tree binding document can be found in the Linu

Re: [U-Boot] [PATCH v1 2/2] powerpc: e6500: Lock/unlock L2 cache instead of L1 as init_ram

2015-09-02 Thread York Sun
On 08/17/2015 03:31 PM, York Sun wrote: > MPC85xx has been using locked L1 cache as init_ram. L1 cache is a write > through cache on E6500. L2 cache is enabled to to hold the data. This > patch locks/unlocks L2 cache to ensure no data cast out from L2 cache. > > Signed-off-by: York Sun > Report

Re: [U-Boot] [PATCH v1 1/2] powerpc: configs: Fix init_ram physical address for several boards

2015-09-02 Thread York Sun
On 08/17/2015 03:31 PM, York Sun wrote: > For e6500 and e5500 SoCs, it was intended to put init_ram address in > ccsr reserved space. It is no longer true since SerDes module took the > space. Move it to another reserved space at CCSR + 0x03c000. > > Signed-off-by: York Sun > --- Applied to u-

Re: [U-Boot] [PATCHv2] arm: socfpga: Add support for the Terasic DE-0 Atlas board

2015-09-02 Thread Marek Vasut
On Wednesday, September 02, 2015 at 04:18:24 PM, Dinh Nguyen wrote: > On 9/2/15 3:18 AM, Marek Vasut wrote: > > On Wednesday, September 02, 2015 at 12:41:52 AM, > > dingu...@opensource.altera.com > > > > wrote: > >> From: Dinh Nguyen > >> > >> Add support for the Terasic DE0-Nano/Atlas-SoC Kit,

Re: [U-Boot] [PATCH v1] common: Fix load and entry addresses in FIT image

2015-09-02 Thread York Sun
On 09/02/2015 09:05 AM, Simon Glass wrote: > Hi York, > > On 1 September 2015 at 22:01, York Sun wrote: >> FIT image supports more than 32 bits in addresses by using #address-cell >> field. However the address length is not handled when parsing FIT images. >> Beside, the variable used to host a

Re: [U-Boot] [PATCH] Fix FSL DDR clock adjust calculation.

2015-09-02 Thread Joakim Tjernlund
On Wed, 2015-09-02 at 09:51 -0500, York Sun wrote: > > On 09/02/2015 09:42 AM, Joakim Tjernlund wrote: > > On Wed, 2015-09-02 at 09:34 -0500, York Sun wrote: > > > > > > On 09/02/2015 09:31 AM, Joakim Tjernlund wrote: > > > > On Wed, 2015-09-02 at 08:35 -0500, York Sun wrote: > > > > > > > > > >

Re: [U-Boot] [PATCH] Fix FSL DDR clock adjust calculation.

2015-09-02 Thread York Sun
On 09/02/2015 09:42 AM, Joakim Tjernlund wrote: > On Wed, 2015-09-02 at 09:34 -0500, York Sun wrote: >> >> On 09/02/2015 09:31 AM, Joakim Tjernlund wrote: >>> On Wed, 2015-09-02 at 08:35 -0500, York Sun wrote: On 09/02/2015 06:41 AM, Joakim Tjernlund wrote: > T1040 RM specifies CLK_

[U-Boot] [PATCH 2/5] spi_flash: Include spi_flash_cmd_write_status() prototype

2015-09-02 Thread Otavio Salvador
Add a prototype for spi_flash_cmd_write_status(), so that it can be used by other files. Signed-off-by: Otavio Salvador --- include/spi_flash.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/spi_flash.h b/include/spi_flash.h index 3b2d555..4b13926 100644 --- a/include/spi_flash.h

Re: [U-Boot] [PATCH] sunxi: (mksunxiboot) signature to indicate "sunxi" SPL variant

2015-09-02 Thread Siarhei Siamashka
On Wed, 2 Sep 2015 15:17:11 +0200 Bernhard Nortmann wrote: > This patch follows up on a discussion of ways to improve support > for the sunxi FEL ("USB boot") mechanism, especially with regard > to boot scripts, see: > https://groups.google.com/d/msg/linux-sunxi/wBEGUoLNRro/rHGq6nSYCQAJ > > The

[U-Boot] [PATCH 5/5] cgtqmx6eval: Protect the manufacturing information in SPI NOR

2015-09-02 Thread Otavio Salvador
The last 16 KiB of the SPI NOR contain some manufacturing information, which should not be erased/overwritten. Configure the protection bits BP2, BP1 and BP0 so that this region is protected. Signed-off-by: Otavio Salvador --- board/congatec/cgtqmx6eval/cgtqmx6eval.c | 25 +

Re: [U-Boot] [PATCH] Convert omap3_logic to ti_omap3_common.h

2015-09-02 Thread Tom Rini
On Wed, Sep 02, 2015 at 09:18:20AM -0500, Adam Ford wrote: > Convert to using the common config files. > > Signed-off-by: Adam Ford Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.den

Re: [U-Boot] What's purpose of DEV_FLAGS_SYSTEM and DEV_EXT_VIDEO?

2015-09-02 Thread Tom Rini
On Wed, Sep 02, 2015 at 08:05:47AM -0600, Simon Glass wrote: > Hi, > > On 2 September 2015 at 03:44, Bin Meng wrote: > > On Mon, Aug 17, 2015 at 1:09 PM, Bin Meng wrote: > >> Hi, > >> > >> I plan to send a patch to remove the DEV_FLAGS_SYSTEM and > >> DEV_EXT_VIDEO. They look useless to me. For

[U-Boot] [PATCH] sunxi: (mksunxiboot) signature to indicate "sunxi" SPL variant

2015-09-02 Thread Bernhard Nortmann
This patch follows up on a discussion of ways to improve support for the sunxi FEL ("USB boot") mechanism, especially with regard to boot scripts, see: https://groups.google.com/d/msg/linux-sunxi/wBEGUoLNRro/rHGq6nSYCQAJ The idea is to convert the (currently unused) "pad" bytes in the SPL header i

[U-Boot] [PATCH 4/5] cgtqmx6eval: Use SPI NOR to store the environment

2015-09-02 Thread Otavio Salvador
Congatec boards boot from SPI NOR, so it makes more sense to use SPI NOR to store the environment variables. Signed-off-by: Otavio Salvador --- include/configs/cgtqmx6eval.h | 18 ++ 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/include/configs/cgtqmx6eval.h b/i

Re: [U-Boot] [PATCH] Fix FSL DDR clock adjust calculation.

2015-09-02 Thread Joakim Tjernlund
On Wed, 2015-09-02 at 09:34 -0500, York Sun wrote: > > On 09/02/2015 09:31 AM, Joakim Tjernlund wrote: > > On Wed, 2015-09-02 at 08:35 -0500, York Sun wrote: > > > > > > On 09/02/2015 06:41 AM, Joakim Tjernlund wrote: > > > > T1040 RM specifies CLK_ADJUST as 5 bits starting at bit pos 9 > > > > i

[U-Boot] [PATCH 3/5] cgtqmx6eval: Add SPI NOR flash support

2015-09-02 Thread Otavio Salvador
Add SPI NOR support: => sf probe SF: Detected SST25VF032B with page size 256 Bytes, erase size 4 KiB, total 4 MiB Signed-off-by: Otavio Salvador --- board/congatec/cgtqmx6eval/cgtqmx6eval.c | 23 +++ include/configs/cgtqmx6eval.h| 10 ++ 2 files changed,

[U-Boot] [PATCH 1/5] spi_sf: Skip the erasing of protected sectors

2015-09-02 Thread Otavio Salvador
Many SPI flashes have protection bits (BP2, BP1 and BP0) in the status register that can protect selected regions of the SPI NOR. Take these bits into account when performing erase operations, making sure that the protected areas are skipped. Introduce the CONFIG_SPI_NOR_PROTECTION option that ca

Re: [U-Boot] [PATCH 5/5] sbc8641d: enable and test CONFIG_SYS_GENERIC_BOARD

2015-09-02 Thread Paul Gortmaker
On 2015-09-01 10:08 PM, York Sun wrote: > > > On 08/24/2015 12:26 PM, Paul Gortmaker wrote: >> Tested on commit 3ea0953d36023d7e50fb00b2e258d8fb2828aeac >> ("dm: Move pre-reloc init earlier to cope with board_early_init_f()") >> since the commit after that ("Set up stdio earlier when using driver

[U-Boot] [PATCH] Convert omap3_logic to ti_omap3_common.h

2015-09-02 Thread Adam Ford
Convert to using the common config files. Signed-off-by: Adam Ford --- arch/arm/cpu/armv7/omap3/Kconfig|3 ++ board/logicpd/omap3som/omap3logic.c | 14 + include/configs/omap3_logic.h | 59 +++ 3 files changed, 28 insertions(+), 48 delet

Re: [U-Boot] [PATCH] Fix FSL DDR clock adjust calculation.

2015-09-02 Thread York Sun
On 09/02/2015 09:31 AM, Joakim Tjernlund wrote: > On Wed, 2015-09-02 at 08:35 -0500, York Sun wrote: >> >> On 09/02/2015 06:41 AM, Joakim Tjernlund wrote: >>> T1040 RM specifies CLK_ADJUST as 5 bits starting at bit pos 9 >>> in DDR_DDR_SDRAM_CLK_CNTL, update code to match. >>> >>> Signed-off-by:

Re: [U-Boot] [PATCH] Fix FSL DDR clock adjust calculation.

2015-09-02 Thread Joakim Tjernlund
On Wed, 2015-09-02 at 08:35 -0500, York Sun wrote: > > On 09/02/2015 06:41 AM, Joakim Tjernlund wrote: > > T1040 RM specifies CLK_ADJUST as 5 bits starting at bit pos 9 > > in DDR_DDR_SDRAM_CLK_CNTL, update code to match. > > > > Signed-off-by: Joakim Tjernlund > > --- > > drivers/ddr/fsl/ctrl_

Re: [U-Boot] [PATCHv2] arm: socfpga: Add support for the Terasic DE-0 Atlas board

2015-09-02 Thread Dinh Nguyen
On 9/2/15 3:18 AM, Marek Vasut wrote: > On Wednesday, September 02, 2015 at 12:41:52 AM, > dingu...@opensource.altera.com > wrote: >> From: Dinh Nguyen >> >> Add support for the Terasic DE0-Nano/Atlas-SoC Kit, which is a CycloneV >> based board. The board can boot from SD/MMC. Ethernet is also

Re: [U-Boot] [PULL] Please pull u-boot-imx

2015-09-02 Thread Stefano Babic
Hi Tom, On 02/09/2015 15:45, Stefano Babic wrote: > Hi Tom, > > On 02/09/2015 15:18, Tom Rini wrote: >> On Wed, Sep 02, 2015 at 11:57:13AM +0200, Stefano Babic wrote: >> >>> Hi Tom, >>> >>> please pull from u-boot-imx, thanks ! >>> >>> The following changes since commit e3d50d4292ebabdf61f56f3a63

  1   2   >