Re: [U-Boot] [PATCH 2/2] apx4devkit: Turn on caches

2012-08-15 Thread Stefano Babic
On 05/08/2012 18:18, Fabio Estevam wrote: > From: Fabio Estevam > > Turn on data and instruction caches. > > Signed-off-by: Fabio Estevam > include/configs/apx4devkit.h |2 -- > 1 files changed, 0 insertions(+), 2 deletions(-) > Applied to u-boot-imx, thanks. Best regards, Stefano Babic

Re: [U-Boot] [PATCH 1/2] m28evk: Turn on caches

2012-08-15 Thread Stefano Babic
On 05/08/2012 18:17, Fabio Estevam wrote: > From: Fabio Estevam > > Turn on data and instruction caches. > > Signed-off-by: Fabio Estevam > --- Applied to u-boot-imx, thanks. Best regards, Stefano Babic -- = DENX Software

Re: [U-Boot] [PATCHv2 1/2] mpc85xx: Initial SP alignment is wrong.

2012-08-15 Thread Joakim Tjernlund
Scott Wood wrote on 2012/08/14 23:01:47: > > On 08/14/2012 03:55 PM, Joakim Tjernlund wrote: > > Ping? > > > >> > >> PowerPC mandates SP to be 16 bytes aligned. > >> Furthermore, a stack frame is added, pointing to the reset vector > >> which may in the way when gdb is walking the stack because >

Re: [U-Boot] [PATCH v2 1/4] mxs: Remove not required explicit iomux-mx28.h include

2012-08-15 Thread Stefano Babic
On 13/08/2012 21:53, Otavio Salvador wrote: > The iomux header is included on sys_proto.h so to avoid SoC specific > header inclusion. > > Signed-off-by: Otavio Salvador > --- > Changes in v2: > - no changes > > arch/arm/cpu/arm926ejs/mxs/spl_boot.c |1 - > 1 file changed, 1 deletion(-) >

Re: [U-Boot] [PATCHv2 1/2] mpc85xx: Initial SP alignment is wrong.

2012-08-15 Thread Joakim Tjernlund
Kumar Gala wrote on 2012/08/14 23:28:45: > > > On Jul 23, 2012, at 3:58 PM, Joakim Tjernlund wrote: > > > PowerPC mandates SP to be 16 bytes aligned. > > Furthermore, a stack frame is added, pointing to the reset vector > > which may in the way when gdb is walking the stack because > > the reset v

Re: [U-Boot] [PATCH 0/3] at91: atmel_nand: add PMECC(Programmable Multibit ECC controller) support

2012-08-15 Thread Andreas Bießmann
Dear Josh Wu, On 15.08.2012 08:50, Josh Wu wrote: > Hi, Andreas > > Sorry, in these patches of current version, it still has a bug, which > will fail to write with PMECC, I will send out the v2 patch soon which > include this bug fix. Oups, sorry I had this patch series not on my list. Will revi

Re: [U-Boot] [PATCH 0/3] at91: atmel_nand: add PMECC(Programmable Multibit ECC controller) support

2012-08-15 Thread Josh Wu
Hi, Andreas Thank you for the quick reply. On 8/15/2012 3:50 PM, Andreas Bießmann wrote: Dear Josh Wu, On 15.08.2012 08:50, Josh Wu wrote: Hi, Andreas Sorry, in these patches of current version, it still has a bug, which will fail to write with PMECC, I will send out the v2 patch soon which

Re: [U-Boot] [PATCH 0/3] at91: atmel_nand: add PMECC(Programmable Multibit ECC controller) support

2012-08-15 Thread Andreas Bießmann
Dear Josh Wu, On 15.08.2012 10:19, Josh Wu wrote: > Hi, Andreas > > Thank you for the quick reply. > > On 8/15/2012 3:50 PM, Andreas Bießmann wrote: >> Dear Josh Wu, >> >> On 15.08.2012 08:50, Josh Wu wrote: >>> Hi, Andreas >> And the last, you should add at least one user of this feature. Is

Re: [U-Boot] [PATCH 4/4 v2] xilinx: Add new Zynq board

2012-08-15 Thread Michal Simek
Hi Joe, sorry missed this one. On 08/14/2012 05:48 PM, Joe Hershberger wrote: Hi Michal, On Tue, Aug 14, 2012 at 7:15 AM, Michal Simek wrote: Add support for Xilinx Zynq board. Signed-off-by: Michal Simek --- v2: Forget to also add config file --- board/xilinx/zynq/Makefile| 5

Re: [U-Boot] [Patch 0/17] New 'qemu-mips64' test architecture for U-Boot

2012-08-15 Thread Zhi-zhou Zhang
On Tue, Aug 14, 2012 at 11:51 PM, Mike Frysinger wrote: > On Tuesday 14 August 2012 11:49:49 Mike Frysinger wrote: > > On Tuesday 14 August 2012 11:06:51 Zhi-zhou Zhang wrote: > > > As so far, U-Boot has already supports mips32. But there are some > > > > > > differences between mips64 and mips3

Re: [U-Boot] Strange / Unreadable console output

2012-08-15 Thread Andreas Bießmann
Dear Markus Hubig, On 14.08.2012 17:11, Markus Hubig wrote: > On Tue, Aug 14, 2012 at 02:03:55PM +0200, Andreas Bießmann wrote: >> On 14.08.2012 11:08, Markus Hubig wrote: >>> On Tue, Aug 14, 2012 at 08:22:11AM +0200, Andreas Bießmann wrote: On 27.07.12 11:16, Markus Hubig wrote: > > > >>>

Re: [U-Boot] [PATCH] YAFFS2: Fix compiler errors preventing successful build

2012-08-15 Thread Marek Vasut
Dear Charles Manning, > On Wednesday 15 August 2012 08:16:22 Marek Vasut wrote: > > Signed-off-by: Marek Vasut > > Cc: Charles Manning > > Cc: Wolfgang Denk > > While I appreciate this, I would prefer the use the patch I submitted today > which also gets rid of the yaffs hweight code too. Tha

Re: [U-Boot] Early malloc() summary

2012-08-15 Thread Tomas Hlavacek
On Tue, Aug 14, 2012 at 3:54 PM, Graeme Russ wrote: >> dm_malloc you mean? I'm not happy about it, maybe Graeme can pour in some >> crazy >> juice in our direction again? > > I don't like the idea of dm_malloc() either, but it may be the only way to > get this past Wolfgang in the initial pass..

Re: [U-Boot] [PATCH] mx25: Clean up lowlevel_init

2012-08-15 Thread Benoît Thébaudeau
Dear Matthias, > Dear Benoît > > Am 14.08.2012 23:25, schrieb Benoît Thébaudeau: > > Clean up mx25 lowlevel_init: > > - Add comments. > > - Do not use write32 repeatedly with the same value in order no > > to increase > > code size. > > - Make register values configurable. > > - Use

[U-Boot] V4 S3C64XX: Switch all I/O to use readl/writel functio and Clear SMDK64XX

2012-08-15 Thread Zhong Hongbo
V4: 1. Adjust SPL patch order 2. seperate the patch of "arm1176: Fixed No relocation.", It is a common issue for arm platform. I sent it for other thread. V3: 1. Replace ELFIN with S3C64XX for all the variable of cpu.h. 2. Change __S3C6400_H__ into __CPU__H__. 3. Use C language to implement memo

[U-Boot] [PATCH 01/14] smdk6400: Move smdk6400 board from Makefile to boards.cfg

2012-08-15 Thread Zhong Hongbo
From: Zhong Hongbo Signed-off-by: Zhong Hongbo --- Change for V4: - None. Change for V3: - None. Change for V2: - None. --- Makefile | 20 board/samsung/smdk6400/config.mk |4 +--- boards.cfg |2

[U-Boot] [PATCH 02/14] S3C64XX: Switch to use readl/writel to operate nand flash

2012-08-15 Thread Zhong Hongbo
From: Zhong Hongbo Signed-off-by: Zhong Hongbo --- Change for V4: - None. Change for V3: - Replace the magic numbers with variable name. Change for V2: - Change the type of the return value from unsinged int to unsinged long for s3c64xx_get_base_uart function.

[U-Boot] [PATCH 03/14] S3C64XX: Use readl/writel to operate uart

2012-08-15 Thread Zhong Hongbo
From: Zhong Hongbo Signed-off-by: Zhong Hongbo --- Change for V4: - None. Change for v3: - None. Change for V2: - Change the type of the return value from unsinged int to unsinged long for s3c64xx_get_base_uart function. - Delete const for the local var

[U-Boot] [PATCH 04/14] S3C64XX: add pwm for s3c64xx support

2012-08-15 Thread Zhong Hongbo
From: Zhong Hongbo Signed-off-by: Zhong Hongbo --- Change for V4: - None. Change for V3: - None. Change for V2: - Change the type of the return value from unsinged int to unsinged long for s3c64xx_get_base_nand function. --- arch/arm/cpu/arm1176/s3c64xx/Makefile

[U-Boot] [PATCH 05/14] S3C64XX: reference s5p cpu time system for s3c64xx timer

2012-08-15 Thread Zhong Hongbo
From: Zhong Hongbo The old s3c64xx timer is not work normal, Adopt s5p time design, It work perfect. Signed-off-by: Zhong Hongbo --- Change for V4: - None. Change for V3: - None. Change for V2: - Delete const key word for the variable of struct s3c_timer --- arch/arm/cp

[U-Boot] [PATCH 06/14] S3C64xx: mov cpu_init.S to the board directory

2012-08-15 Thread Zhong Hongbo
From: Zhong Hongbo It just only do the memory init. The memory depend on the design of board. Signed-off-by: Zhong Hongbo --- Change for V4: - None. Change for V3: - None. Change for V2: - None. --- arch/arm/cpu/arm1176/s3c64xx/Makefile |2 +- arch/arm/cpu/arm1176

[U-Boot] [PATCH 07/14] S3C6400: Adopt SPL framwork to support spl for nand flash

2012-08-15 Thread Zhong Hongbo
From: Zhong Hongbo Adopt the new SPL framework to implement the SPL booting of the nand flash for S3C6400. Signed-off-by: Zhong Hongbo --- Change for V4: - Adjust the patch's order. Change for V3: - None. Change for V2: - seprate some code. --- arch/arm/cpu/arm1176/star

[U-Boot] [PATCH 09/14] S3C64XX: Change SROM init to use read/write operation

2012-08-15 Thread Zhong Hongbo
From: Zhong Hongbo Signed-off-by: Zhong Hongbo --- Change for V4: - None. Change for V3: - None. Change for V2: - Change the type of return for s3c64xx_get_base_sromc function. --- arch/arm/cpu/arm1176/s3c64xx/Makefile |2 +- arch/arm/cpu/arm1176/s3c64xx/srom.c

[U-Boot] [PATCH 08/14] S3C6400: Delete nand_spl for S3C6400

2012-08-15 Thread Zhong Hongbo
From: Zhong Hongbo The old spl use nand_spl directory file to support nand flash boot. We will adopt the new SPL framework to implement it. Signed-off-by: Zhong Hongbo --- Change for V4: - Adjust the patch's order. Change for V3: - Delete u-boot-nand.lds. Change for V2:

[U-Boot] [PATCH 10/14] S3C64XX: Switch to use read/writel to operation clock system

2012-08-15 Thread Zhong Hongbo
From: Zhong Hongbo Switch to use read/writel function and clear the relevant variable. Signed-off-by: Zhong Hongbo --- Change for V4: - None. Change for V3: - Use C language to re-write reset function. - Replace the magic numbers witch variale name. Change for V2:

[U-Boot] [PATCH 11/14] S3c64xx: clear GPIO, Interrupt, Watchdog variable.

2012-08-15 Thread Zhong Hongbo
From: Zhong Hongbo Signed-off-by: Zhong Hongbo --- Change for V4: - None. Change for V3: - Replace the magic numbers with the variable name. Change for V2: - None. --- arch/arm/include/asm/arch-s3c64xx/gpio.h | 38 arch/arm/include/asm/arch-s3c64xx/interrupt.

[U-Boot] [PATCH 12/14] S3C6400: clear memory init variable

2012-08-15 Thread Zhong Hongbo
From: Zhong Hongbo Signed-off-by: Zhong Hongbo --- Change for V4: - None. Change for V3: - Replace the magic numbers with variable name. - Use C language to implement memory initialization. Change for V2: - None. --- arch/arm/include/asm/arch-s3c64xx/dmc.h |

[U-Boot] [PATCH 14/14] S3C6400: Remove the unused variable for S3C6400

2012-08-15 Thread Zhong Hongbo
From: Zhong Hongbo Signed-off-by: Zhong Hongbo --- Change for V4: - None. Change for V3: - None. Change for V2: - None. --- include/configs/smdk6400.h | 15 --- 1 files changed, 0 insertions(+), 15 deletions(-) diff --git a/include/configs/smdk6400.h b/inc

[U-Boot] [PATCH 13/14] S3C64XX: Move s3c6400.h to cpu.h to support s3c6410 board

2012-08-15 Thread Zhong Hongbo
From: Zhong Hongbo Signed-off-by: Zhong Hongbo --- Change for V4: - None. Change for V3: - Replace ELFIN with S3C64XX for all the variable of cpu.h - Change __S3C6400_H__ into __CPU__H__ Change for V2: - New. --- arch/arm/cpu/arm1176/s3c64xx/pwm.c |2

[U-Boot] [PATCH] powerpc/mpc85xx:Enable debugger support to missed e500v2 SoC

2012-08-15 Thread Prabhakar Kushwaha
Freescale's e500v1 and e500v2 cores (used in mpc85xx chips) have some restrictions on external debugging (JTAG). Need to define define CONFIG_SYS_PPC_E500_DEBUG_TLB to enable a temporary TLB entry to be used during boot to work around the limitations. Enable missed e500v2 SoC i.e. MPC8536, MPC854

Re: [U-Boot] [PATCH 1/3] powerpc/fsl-corenet: remove dead variant symbols

2012-08-15 Thread Kumar Gala
On Aug 14, 2012, at 4:45 PM, Scott Wood wrote: > On 08/14/2012 04:31 PM, Kumar Gala wrote: >> >> On Aug 14, 2012, at 3:14 PM, Scott Wood wrote: >> >>> These are not supported as individual build targets, but instead >>> are supported by another target. >>> >>> The dead p4040 defines in particu

Re: [U-Boot] [PATCH 5/5] mpc iim: Switch to common fsl_iim

2012-08-15 Thread Benoît Thébaudeau
> Signed-off-by: Benoît Thébaudeau > Cc: Wolfgang Denk > Cc: Stefano Babic Adding missing board maintainers to Cc. > --- > .../arch/powerpc/cpu/mpc512x/Makefile |1 - > .../arch/powerpc/cpu/mpc512x/iim.c => /dev/null| 394 > > .../board/davedenx/ari

Re: [U-Boot] [PATCH 4/4] mx5: Mark lowlevel_init board-specific code

2012-08-15 Thread Benoît Thébaudeau
> The mx5 lowlevel_init.S contains board-specific code based on the > reference > design. Let's keep it since it avoids creating new lowlevel_init > files and it > may be used by many boards. But add a config to make it optional in > order not to > cause issues on boards not following this part of

Re: [U-Boot] [PATCH 2/2] mx5: Use default pin initializers

2012-08-15 Thread Benoît Thébaudeau
> Use the newly created mx5 default pin initialization functions in mx5 > board > files. > > Signed-off-by: Benoît Thébaudeau > Cc: Stefano Babic Adding missing board maintainers to Cc. > --- > .../board/efikamx/efikamx.c| 133 > ++-- > .../board/free

Re: [U-Boot] [PATCH] mx31: Fix PDR0_CSI_PODF

2012-08-15 Thread Benoît Thébaudeau
> The CSI PODF bit-field used by the previous code for the i.MX31 CCM > PDR0 > register is actually composed of two bit-fields: one pre-divider and > one > post-divider. This patch fixes the CCM access macros and the code > using them > accordingly. > > Signed-off-by: Benoît Thébaudeau > Cc: Stef

Re: [U-Boot] [PATCH] km/arm: set SPI NOR Flash default parameters

2012-08-15 Thread Valentin Longchamp
Hi Prafulla, On 08/14/2012 03:17 PM, Prafulla Wadaskar wrote: > > >> -Original Message- >> From: Valentin Longchamp [mailto:valentin.longch...@keymile.com] >> Sent: 14 August 2012 17:09 >> To: Prafulla Wadaskar >> Cc: u-boot@lists.denx.de; Valentin Longchamp; Holger Brunck >> Subject: [P

Re: [U-Boot] [PATCH] kw_spi: fix clock prescaler computation

2012-08-15 Thread Valentin Longchamp
Hi Prafulla, On 08/14/2012 03:15 PM, Prafulla Wadaskar wrote: > > >> -Original Message- >> From: Valentin Longchamp [mailto:valentin.longch...@keymile.com] >> Sent: 14 August 2012 15:02 >> To: Prafulla Wadaskar >> Cc: u-boot@lists.denx.de; Holger Brunck >> Subject: Re: [PATCH] kw_spi: fi

[U-Boot] [PATCH v2] kw_spi: fix clock prescaler computation

2012-08-15 Thread Valentin Longchamp
The computation was not correct with low clock values: setting a 1MHz clock would result in an overlap that would then configure a 25Mhz clock. This patch implements a correct computation method according to the kirkwood functionnal spec. table 600 (Serial Memory Interface Configuration Register).

[U-Boot] [PATCH] powerpc/mpc85xx: Add IFC LAW target ID for FSL High-End SoC

2012-08-15 Thread Prabhakar Kushwaha
Freescale's High-End SoC are going to have Integrated Flash controller (IFC)'s support. So add IFC LAW target ID support for High-End SoC or corenet SoC. Signed-off-by: Prabhakar Kushwaha --- Based upon git://git.denx.de/u-boot.git (branch master) arch/powerpc/include/asm/fsl_law.h |1 + 1

Re: [U-Boot] usb_test_unit_ready called every block read - performance

2012-08-15 Thread Steve Heckman
Oh yeah, forgot about that...;) I just downloaded the ext4 branch tarball and built it. The test_unit_ready calls were still in there. With or without those it took 0m 45s to load a ~150MB image. In our original branch (2011.12), the test_unit_ready calls had more of an impact. The stock 2011.1

Re: [U-Boot] Please pull u-boot-staging/tr...@ti.com

2012-08-15 Thread Tom Rini
On Tue, Aug 14, 2012 at 03:06:17AM +0200, Albert ARIBAUD wrote: > Hi Albert, > > On Tue, 14 Aug 2012 02:04:15 +0200, Albert ARIBAUD (U-Boot) > wrote: > > > Hi Tom, > > > > On Fri, 10 Aug 2012 22:06:59 +0200, Wolfgang Denk wrote: > > > > > Dear Tom, > > > > > > In message <20120810161021.GG33

Re: [U-Boot] [PATCH 1/6] davinci: ea20: reorganisation LCD startup

2012-08-15 Thread Tom Rini
On Fri, Aug 10, 2012 at 09:26:41AM +0200, Bastian Ruppert wrote: > Signed-off-by: Bastian Ruppert > CC: Tom Rini > CC: Stefano Babic For the series, I'm fine with the davinci side of the changes but want Anatolij and Stefano to ack as well before I pull into u-boot-ti, thanks! -- Tom signa

Re: [U-Boot] [PATCH 6/6] davinci: ea20: add some configs and default environmet variables

2012-08-15 Thread Stefano Babic
On 10/08/2012 09:26, Bastian Ruppert wrote: > Signed-off-by: Bastian Ruppert > CC: Tom Rini > CC: Stefano Babic > --- > include/configs/ea20.h | 106 > ++-- > 1 files changed, 66 insertions(+), 40 deletions(-) > > diff --git a/include/configs/ea20.

Re: [U-Boot] [PATCH 5/6] da850/omap-l138: davinci_emac: Suppress auto negotiation if needed

2012-08-15 Thread Stefano Babic
On 10/08/2012 09:26, Bastian Ruppert wrote: > From this commit id: b78375a806ed04eb22b963255cfdef8df702de47 auto > negotiation is enabled in RMII mode. Some boards based on da850 need > to suppress this procedure. > > CC: Rajashekhara, Sudhakar > CC: Lad, Prabhakar > CC: Hadli, Manjunath > CC:

Re: [U-Boot] [PATCH 1/6] davinci: ea20: reorganisation LCD startup

2012-08-15 Thread Stefano Babic
On 10/08/2012 09:26, Bastian Ruppert wrote: > Signed-off-by: Bastian Ruppert > CC: Tom Rini > CC: Stefano Babic > --- > board/davinci/ea20/ea20.c | 23 +++ > 1 files changed, 15 insertions(+), 8 deletions(-) > > diff --git a/board/davinci/ea20/ea20.c b/board/davinci/ea20/

Re: [U-Boot] [PATCH 2/6] davinci: ea20: the console is always set to the serial line

2012-08-15 Thread Stefano Babic
On 10/08/2012 09:26, Bastian Ruppert wrote: > Do not allow to overwrite it when video is enabled. > > Signed-off-by: Bastian Ruppert > CC: Tom Rini > CC: Stefano Babic > --- Acked-by: Stefano Babic Best regards, Stefano Babic -- =

Re: [U-Boot] [PATCH 1/1] lib, panic: don't call do_reset in SPL (debug).

2012-08-15 Thread Tom Rini
On Tue, Aug 14, 2012 at 10:40:50PM +0200, Jeroen Hofstee wrote: > Several omap boards won't build when DEBUG is defined, SPL build error: > "vsprintf.c:791: undefined reference to `do_reset'", since SPL has no > commands. Therefore don't call do_reset in SPL. SPL panic will end in an > endless loo

Re: [U-Boot] [PATCH 1/4] serial: Add Dragonfire serial driver

2012-08-15 Thread John Williams
On Wed, Aug 15, 2012 at 3:17 AM, Michal Simek wrote: > On 08/14/2012 06:45 PM, Joe Hershberger wrote: > >> Hi Michal, >> >> On Tue, Aug 14, 2012 at 11:38 AM, Michal Simek wrote: >> >>> On 08/14/2012 04:09 PM, Joe Hershberger wrote: >>> Hi Michal, On Tue, Aug 14, 2012 at 6:42

Re: [U-Boot] usb_test_unit_ready called every block read - performance

2012-08-15 Thread Jim Shimer
Marek/Benoit, Thanks so much for integrating this. I like the way you reused the flags, and simplified the code. Regards, Jim On Tue, Aug 14, 2012 at 1:57 PM, Steve Heckman wrote: > Marek, > > That looks good to me. Jim? > > Thanks, > Steve > > On Tue, Aug 14, 2012 at 1:50 PM, Marek Vasut wr

Re: [U-Boot] usb_test_unit_ready called every block read - performance

2012-08-15 Thread Jim Shimer
Hi Marek, I looked at the ext4 branch. It looks like he has the patch to remove the usb_test_unit_ready() calls which were not needed. Actually those calls are commented out on that branch: #if 0 if (usb_test_unit_ready(srb, ss)) { printf("Device NOT ready\n Request Sens

Re: [U-Boot] [PATCHv2 1/2] mpc85xx: Initial SP alignment is wrong.

2012-08-15 Thread Scott Wood
On 08/15/2012 02:10 AM, Joakim Tjernlund wrote: > Kumar Gala wrote on 2012/08/14 23:28:45: >> >> >> On Jul 23, 2012, at 3:58 PM, Joakim Tjernlund wrote: >> >>> PowerPC mandates SP to be 16 bytes aligned. >>> Furthermore, a stack frame is added, pointing to the reset vector >>> which may in the way

Re: [U-Boot] [PATCH 1/3] powerpc/fsl-corenet: remove dead variant symbols

2012-08-15 Thread Scott Wood
On 08/15/2012 09:21 AM, Kumar Gala wrote: > > On Aug 14, 2012, at 4:45 PM, Scott Wood wrote: > >> On 08/14/2012 04:31 PM, Kumar Gala wrote: >>> >>> On Aug 14, 2012, at 3:14 PM, Scott Wood wrote: >>> These are not supported as individual build targets, but instead are supported by anothe

[U-Boot] [PATCH 1/2] README.SPL: Add a small Debugging section

2012-08-15 Thread Tom Rini
Signed-off-by: Tom Rini --- doc/README.SPL |7 +++ 1 file changed, 7 insertions(+) diff --git a/doc/README.SPL b/doc/README.SPL index e4a5ac3..bd375a0 100644 --- a/doc/README.SPL +++ b/doc/README.SPL @@ -78,3 +78,10 @@ an SPL CPU in boards.cfg as follows: This this case CPU will be se

[U-Boot] [PATCH 2/2] README.SPL: Move the 'Estimating stack usage' from omap3 to here

2012-08-15 Thread Tom Rini
The instructions are generic, so move to the generic doc. Signed-off-by: Tom Rini --- doc/README.SPL | 23 +++ doc/SPL/README.omap3 | 22 -- 2 files changed, 23 insertions(+), 22 deletions(-) diff --git a/doc/README.SPL b/doc/README.SPL index bd

Re: [U-Boot] [PATCH 4/4 v2] xilinx: Add new Zynq board

2012-08-15 Thread Joe Hershberger
Hi Michal, On Wed, Aug 15, 2012 at 3:49 AM, Michal Simek wrote: > Hi Joe, > > sorry missed this one. > > > On 08/14/2012 05:48 PM, Joe Hershberger wrote: >> >> Are you thinking that this will be the one and only Zynq board? >> Perhaps a layout like what Xilinx has in their branch is more >> appro

Re: [U-Boot] [PATCH 01/13] mxc nand: Merge mtd and spl register definitions

2012-08-15 Thread Benoît Thébaudeau
Hi Stefano, On 08/14/2012 04:29:04 PM, Benoît Thébaudeau wrote: > Hi Stefano, > > > On 14/08/2012 13:13, Benoît Thébaudeau wrote: > > > Hi Stefano, > > > > > > > Hi Benoît, > > > > >> We have currently only two boards supporting this mechanismus, > > >> using > > >> MX25 (karo tx25) and MX31.

Re: [U-Boot] [PATCH 0/2]: arm: Provide lowlevel_init C function wrapper for v7

2012-08-15 Thread Allen Martin
On Thu, Aug 09, 2012 at 09:01:54AM -0700, Tom Rini wrote: > Hey all, > > As Allen Martin noted, on tegra platforms a bug is exposed when using > certain toolchains that currently calls to lowlevel_init must be calls > to another assembly function as the stack is not explicitly setup / > saved and

Re: [U-Boot] [PATCH 1/2] omap4/5/am33xx: Make lowlevel_init available to all armv7 platforms

2012-08-15 Thread Allen Martin
On Thu, Aug 09, 2012 at 09:01:55AM -0700, Tom Rini wrote: > Make the lowlevel_init function that these platforms have which just > sets up the stack and calls a C function available to all armv7 > platforms. As part of this we change some of the macros that are used > to be more clear. Previously

Re: [U-Boot] [PATCH 2/2] armv7: Make lowlevel_init.S's lowlevel_init do ABI compatible stack

2012-08-15 Thread Allen Martin
On Thu, Aug 09, 2012 at 09:01:56AM -0700, Tom Rini wrote: > Make sure that when we setup the stack before calling s_init() we have > the stack have 8-byte alignment for ABI compliance. > > Signed-off-by: Tom Rini > --- Tested-by: Allen Martin -- nvpublic __

[U-Boot] [PATCH 1/2] MX28: config: Allow different target generation in elftosb call

2012-08-15 Thread Otavio Salvador
The elftosb call needs to use a target param specific for i.MX28. This patch allow for later addition of i.MX233. Signed-off-by: Otavio Salvador --- Makefile |5 - arch/arm/cpu/arm926ejs/mxs/{u-boot.bd => u-boot.bd.imx28} |0 2 files c

[U-Boot] [PATCH 2/2] MX28: Move "regs-base.h" include after SoC type configuration

2012-08-15 Thread Otavio Salvador
For i.MX233 addition the base registers need to be change so the SoC definition needs to be known before the header include. The following boards has been changed: * apx4devkit * m28evk * mx28evk * sc_sps_1 Signed-off-by: Otavio Salvador --- include/configs/apx4devkit.h |4 ++-- includ

[U-Boot] [PATCH] patman: Do not Cc addresses included in To list

2012-08-15 Thread Otavio Salvador
In case an address is listed in the To list, those will be skipped on Cc list or user might end with a duplicated message. This fixes the case when a tag points to same address used as series destination thus avoiding duplicated sending. Signed-off-by: Otavio Salvador --- tools/patman/series.py

[U-Boot] [PATCH 1/1] iomux: move IOMUX_GPR13_xxx defines

2012-08-15 Thread Troy Kisky
Move mx6 specific defines to arch-mx6 directory. Signed-off-by: Troy Kisky --- arch/arm/include/asm/arch-mx6/iomux.h | 129 + arch/arm/include/asm/imx-common/iomux-v3.h| 111 - board/freescale/mx6qsabrelite/mx6qsabrelite.c |1 + 3 fil

[U-Boot] [PATCH V4 3/3] mx53evk: add boot_mode support

2012-08-15 Thread Troy Kisky
This allows a watchdog reset to start the ROM's usb/serial downloader, or boot from an sdcard. Signed-off-by: Troy Kisky --- Compile tested only, I don't have a mx53evk. --- board/freescale/mx53evk/mx53evk.c | 13 + include/configs/mx53evk.h |3 +++ 2 files changed, 16

[U-Boot] [PATCH V4 2/3] mx6qsabrelite: add boot_mode support

2012-08-15 Thread Troy Kisky
This allows a watchdog reset to start the ROM's usb downloader, or boot from an sdcard. Signed-off-by: Troy Kisky --- board/freescale/mx6qsabrelite/mx6qsabrelite.c | 14 ++ include/configs/mx6qsabrelite.h |3 +++ 2 files changed, 17 insertions(+) diff --git a/boa

[U-Boot] [PATCH V4 1/3] imx-common/cmd_bmode.c: add imx bmode (bootmode) command

2012-08-15 Thread Troy Kisky
This is useful for forcing the ROM's usb downloader to activate upon a watchdog reset. Or, you can boot from either SD Card. Currently, support added for MX53 and MX6Q Signed-off-by: Troy Kisky Note: MX53 support untested. --- v4: replaced some occurrances of reset s/reset/boot/ or s/reset/b/

[U-Boot] [PATCH 3/3] mx6qsabrelite: set CONFIG_FEC_MXC_PHYMASK

2012-08-15 Thread Troy Kisky
Different ethernet jacks parts can result in the Micrel KSZ9021 getting a different phy address. Let's support all parts. Signed-off-by: Troy Kisky --- include/configs/mx6qsabrelite.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/mx6qsabrelite.h b/include

[U-Boot] [PATCH 2/3] fec_mxc: use phy_connect_by_mask

2012-08-15 Thread Troy Kisky
Allow board config files to list a range of possible phy addresses, in case the exact phy address is not certain. Signed-off-by: Troy Kisky --- drivers/net/fec_mxc.c | 21 +++-- drivers/net/fec_mxc.h |3 ++- 2 files changed, 17 insertions(+), 7 deletions(-) diff --git a/dr

[U-Boot] [PATCH 1/3] phy: add phy_connect_by_mask

2012-08-15 Thread Troy Kisky
It is useful to be able to try a range of possible phy addresses to connect. Signed-off-by: Troy Kisky --- drivers/net/phy/phy.c | 108 +++-- include/phy.h |2 + 2 files changed, 71 insertions(+), 39 deletions(-) diff --git a/drivers/net/

[U-Boot] [PATCH v8 03/15] tegra20: rename CONFIG_MACH_TEGRA_GENERIC

2012-08-15 Thread Allen Martin
Rename CONFIG_MACH_TEGRA_GENERIC to the less confusing CONFIG_TEGRA. The meaning of the config options is now: CONFIG_TEGRA - Any tegra chip CONFIG_TEGRA20 - A tegra20 family chip CONFIG_TEGRA30 - A tegra30 family chip (not added yet) Signed-off-by: Allen Martin Acked-by: Stephen Warren Tested-

[U-Boot] [PATCH v8 00/15] split tegra20 arm7 code into separate SPL

2012-08-15 Thread Allen Martin
This patch series fixes a long standing problem with the tegra20 u-boot build. Tegra20 contains an ARM7TDMI boot processor and a Cortex A9 main processor. Prior to this patch series this was accomplished by #ifdefing out any armv7 code from the early boot sequence and creating a single binary tha

[U-Boot] [PATCH v8 04/15] tegra20: tec: add tegra20-common-post.h

2012-08-15 Thread Allen Martin
Add tegra20-common-post.h to be consistent with other tegra20 boards. Signed-off-by: Allen Martin Acked-by: Thierry Reding Acked-by: Stephen Warren Tested-by: Thierry Reding Signed-off-by: Tom Warren --- include/configs/tec.h |2 ++ 1 file changed, 2 insertions(+) diff --git a/include/c

[U-Boot] [PATCH v8 11/15] tegra20: move SDRAM param save to later in boot

2012-08-15 Thread Allen Martin
Move warmboot_save_sdram_params() to later in the boot sequence. This code relies on devicetree to get the address of the memory controller and with upcoming changes for SPL boot it gets called early in the boot process when devicetree is not initialized yet. Signed-off-by: Allen Martin Acked-by

[U-Boot] [PATCH v8 14/15] spl: fix SPL build of private libgcc

2012-08-15 Thread Allen Martin
This fixes the SPL build to link with the SPL version of libgcc if USE_PRIVATE_LIBGCC is set to "yes". Previously it was linking with the libgcc from the normal u-boot build because it gets set in PLATFORM_LIBS and passed down the to the SPL build. Signed-off-by: Allen Martin Acked-by: Stephen W

[U-Boot] [PATCH v8 08/15] tegra20: remove timer_init from SPL build

2012-08-15 Thread Allen Martin
Don't use timer_init from tegra board.c. This comes out of arm720t for the SPL build. Signed-off-by: Allen Martin Acked-by: Stephen Warren Tested-by: Thierry Reding Signed-off-by: Tom Warren --- board/nvidia/common/board.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/board/nvidia

[U-Boot] [PATCH v8 13/15] arm: enable libgcc build for SPL

2012-08-15 Thread Allen Martin
Enable the building of private libgcc for SPL Signed-off-by: Allen Martin Acked-by: Stephen Warren Tested-by: Thierry Reding Signed-off-by: Tom Warren --- arch/arm/lib/Makefile |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/lib/Makefile b/arch/arm/lib/Makefile

[U-Boot] [PATCH v8 07/15] ARM: Fix arm720t SPL build

2012-08-15 Thread Allen Martin
Take a few SPL fixes from armv7 and apply them to arm720t: -Use dummy exception handlers for SPL build -Initialize relocation register r9 to 0 for the case of no relocation -ifdef out interrupt handler code Signed-off-by: Allen Martin Acked-by: Stephen Warren Tested-by: Thierry Reding Signed-of

[U-Boot] [PATCH v8 10/15] tegra20: add u-boot-*-tegra.bin targets

2012-08-15 Thread Allen Martin
Add target for tegra20 u-boot image. This is a concatenation of tegra spl and normal u-boot binaries. For non-devicetree builds this is named "u-boot-nodtb-tegra.bin" for devicetree builds is named "u-boot-dtb-tegra.bin". Signed-off-by: Allen Martin Acked-by: Stephen Warren Tested-by: Thierry

[U-Boot] [PATCH v8 06/15] mkconfig: add support for SPL CPU

2012-08-15 Thread Allen Martin
Add support for specifying a different CPU for main u-boot and SPL u-boot builds. This is done by adding an optional SPL CPU after the main CPU in boards.cfg as follows: normal_cpu:spl_cpu This this case CPU will be set to "normal_cpu" during the main u-boot build and "spl_cpu" during the S

[U-Boot] [PATCH v8 02/15] tegra20: move tegra20 SoC code to arch/arm/cpu/tegra20-common

2012-08-15 Thread Allen Martin
In preparation for splitting out the armv4t code from tegra20, move the tegra20 SoC code to arch/arm/cpu/tegra20-common. This code will be compiled armv4t for the arm7tdmi and armv7 for the cortex A9. Signed-off-by: Allen Martin Acked-by: Stephen Warren Tested-by: Thierry Reding Signed-off-by:

[U-Boot] [PATCH v8 15/15] tegra20: Remove armv4t build flags

2012-08-15 Thread Allen Martin
These flags were necessary when building tegra20 as a single binary that supported ARM7TDMI and Cortex A9. Now that the ARM7TDMI support is split into a separate SPL, this is no longer necessary. Signed-off-by: Allen Martin Acked-by: Stephen Warren Tested-by: Thierry Reding Signed-off-by: Tom

[U-Boot] [PATCH v8 05/15] tegra20: make board mkdir commands unconditional

2012-08-15 Thread Allen Martin
Change the mkdir commands for the object directories to be unconditional. This fixes an issue when building for SPL where SRCTREE and OBJTREE are the same, but $(obj) is under SPLTREE. Signed-off-by: Allen Martin Acked-by: Stephen Warren Tested-by: Thierry Reding Signed-off-by: Tom Warren ---

[U-Boot] [PATCH v8 09/15] ARM: add tegra20 support to arm720t

2012-08-15 Thread Allen Martin
Add support for tegra20 arm7 boot processor. This processor is used to power on the Cortex A9 and transfer control to it. In tegra this processor is an ARM7TDMI not an ARM720T, but since we don't use cache it was easier to just reuse the ARM720T code as the processors are otherwise identical exce

[U-Boot] [PATCH v8 12/15] tegra20: enable SPL for tegra20 boards

2012-08-15 Thread Allen Martin
Add SPL options to tegra20 config files and enable SPL build for tegra20 boards. Also remove redundant code from u-boot that is not contained in SPL. Signed-off-by: Allen Martin Acked-by: Stephen Warren Tested-by: Thierry Reding Signed-off-by: Tom Warren --- Makefile

[U-Boot] [PATCH 1/1] mx51/mx53/mx6: add watchdog

2012-08-15 Thread Troy Kisky
Signed-off-by: Troy Kisky --- arch/arm/cpu/armv7/imx-common/Makefile |1 + arch/arm/cpu/armv7/imx-common/watchdog.c | 32 ++ 2 files changed, 33 insertions(+) create mode 100644 arch/arm/cpu/armv7/imx-common/watchdog.c diff --git a/arch/arm/cpu/armv7/imx-comm

Re: [U-Boot] [PATCH v8 00/15] split tegra20 arm7 code into separate SPL

2012-08-15 Thread Allen Martin
On Wed, Aug 15, 2012 at 01:44:17PM -0700, Allen Martin wrote: > This patch series fixes a long standing problem with the tegra20 > u-boot build. Tegra20 contains an ARM7TDMI boot processor and a > Cortex A9 main processor. Prior to this patch series this was > accomplished by #ifdefing out any ar

[U-Boot] [PATCH 00/17]: ARM: SPL: Make more generic, merge DaVinci and OMAP

2012-08-15 Thread Tom Rini
Hey all, The following patch series merges the davinci and omap-common SPL frameworks into a single framework, CONFIG_SPL_FRAMEWORK along with a few small cleanups to the code to make it a little smaller and more flexible. The end result is that davinci can now opt in on SPL-boots-Linux by just s

[U-Boot] [PATCH 01/17] spl_mmc: Make FAT checks / calls guarded with CONFIG_SPL_FAT_SUPPORT

2012-08-15 Thread Tom Rini
Signed-off-by: Tom Rini --- arch/arm/cpu/armv7/omap-common/spl_mmc.c |4 1 file changed, 4 insertions(+) diff --git a/arch/arm/cpu/armv7/omap-common/spl_mmc.c b/arch/arm/cpu/armv7/omap-common/spl_mmc.c index 2f921bb..7552f6c 100644 --- a/arch/arm/cpu/armv7/omap-common/spl_mmc.c +++ b/a

[U-Boot] [PATCH 02/17] omap-common: SPL: Add CONFIG_SPL_DISPLAY_PRINT / spl_display_print()

2012-08-15 Thread Tom Rini
Only omap4/5 currently have a meaningful set of display text and overo had been adding a function to display nothing. Change how this works to be opt-in and only turned on for omap4/5 now. Signed-off-by: Tom Rini --- README |4 arch/arm/cpu/armv7

[U-Boot] [PATCH 06/17] ARM: SPL: Rename omap_boot_mode to spl_boot_mode()

2012-08-15 Thread Tom Rini
Signed-off-by: Tom Rini --- arch/arm/cpu/armv7/omap-common/boot-common.c |2 +- arch/arm/cpu/armv7/omap3/board.c |2 +- arch/arm/include/asm/omap_common.h |2 +- arch/arm/lib/spl_mmc.c |2 +- arch/arm/lib/spl_nand.c

[U-Boot] [PATCH 05/17] ARM: SPL: Rename omap_boot_device to spl_boot_device

2012-08-15 Thread Tom Rini
Signed-off-by: Tom Rini --- arch/arm/cpu/armv7/omap-common/boot-common.c |2 +- arch/arm/cpu/armv7/omap-common/lowlevel_init.S |4 ++-- arch/arm/cpu/armv7/omap3/board.c |4 ++-- arch/arm/include/asm/omap_common.h |2 +- arch/arm/lib/spl.c

[U-Boot] [PATCH 08/17] ARM: SPL: Remove NAND_MODE_HW_ECC from spl_nand.c

2012-08-15 Thread Tom Rini
This detection code doesn't (and can't) do anything currently, so remove. Signed-off-by: Tom Rini --- arch/arm/cpu/armv7/omap3/board.c |3 --- arch/arm/include/asm/omap_common.h |1 - arch/arm/lib/spl_nand.c| 13 +++-- 3 files changed, 3 insertions(+), 14 deletion

[U-Boot] [PATCH 07/17] omap-common: Fix typo in lowlevel_init.S::save_boot_params

2012-08-15 Thread Tom Rini
Signed-off-by: Tom Rini --- arch/arm/cpu/armv7/omap-common/lowlevel_init.S |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv7/omap-common/lowlevel_init.S b/arch/arm/cpu/armv7/omap-common/lowlevel_init.S index d4ce0af..dafe18b 100644 --- a/arch/arm/cpu/armv7

[U-Boot] [PATCH 09/17] ARM: SPL: Only call mem_malloc_init if configured

2012-08-15 Thread Tom Rini
We can only attempt to setup a malloc pool if CONFIG_SYS_SPL_MALLOC_START is defined, and not all boards require it. Make the call depend on the define. Signed-off-by: Tom Rini --- arch/arm/lib/spl.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/lib/spl.c b/arch/arm/lib/spl.c

[U-Boot] [PATCH 13/17] ARM: SPL: Start hooking in the current SPI SPL support

2012-08-15 Thread Tom Rini
Signed-off-by: Tom Rini --- arch/arm/include/asm/spl.h |3 +++ arch/arm/lib/spl.c |5 + 2 files changed, 8 insertions(+) diff --git a/arch/arm/include/asm/spl.h b/arch/arm/include/asm/spl.h index 41036e9..f0eb96f 100644 --- a/arch/arm/include/asm/spl.h +++ b/arch/arm/include/

[U-Boot] [PATCH 10/17] ARM: SPL: Add and

2012-08-15 Thread Tom Rini
Move the SPL prototypes from into and add for arch specific portions of CONFIG_SPL_FRAMEWORK. Signed-off-by: Tom Rini --- arch/arm/cpu/armv7/am33xx/board.c |2 +- arch/arm/cpu/armv7/omap-common/hwinit-common.c |2 +- arch/arm/cpu/armv7/omap3/board.c |1 +

[U-Boot] [PATCH 14/17] ARM: SPL: Move gpmc_init() to spl_board_init()

2012-08-15 Thread Tom Rini
This is an OMAP/related-specific function, move calling it to spl_board_init() and turn on CONFIG_SPL_BOARD_INIT on the boards that enabled NAND and didn't enable this already. Signed-off-by: Tom Rini --- arch/arm/cpu/armv7/omap-common/boot-common.c |7 +++ arch/arm/cpu/armv7/omap3/board

[U-Boot] [PATCH 12/17] ARM: SPL: Clean up spl.c / spl_nand.c slightly

2012-08-15 Thread Tom Rini
- Remove includes we don't need - Switch some printf statements to puts - Convert some printf statements to debug, introduce new puts statements - In most cases saying just "No mkimage signature, assuming u-boot.bin" or similar is sufficient. This also means the non-DEBUG case doesn't ne

[U-Boot] [PATCH 11/17] ARM: SPL: Make spl_mmc.c more generic

2012-08-15 Thread Tom Rini
Move the default omap/related-centric board_mmc_init to arch/arm/cpu/armv7/omap-common/boot-common.c and move the type defines to Signed-off-by: Tom Rini --- arch/arm/cpu/armv7/omap-common/boot-common.c | 16 arch/arm/cpu/armv7/omap3/board.c | 15 +++

[U-Boot] [PATCH 17/17] ARM: SPL: Enhance spi_spl_load to match the other load functions

2012-08-15 Thread Tom Rini
Signed-off-by: Tom Rini --- arch/arm/include/asm/spl.h |2 +- arch/arm/lib/spl.c |4 ++-- drivers/mtd/spi/spi_spl_load.c | 23 --- 3 files changed, 15 insertions(+), 14 deletions(-) diff --git a/arch/arm/include/asm/spl.h b/arch/arm/include/asm/spl.h

  1   2   >