Re: [U-Boot] [PATCH] powerpc/mpc85xx: Enabling CPC conditionally based on hwconfig options

2013-06-14 Thread Singh Sandeep-B37400
Thanks for your comments. Please find reply inline. Regards, Sandeep > -Original Message- > From: Wood Scott-B07421 > Sent: Thursday, June 13, 2013 10:09 PM > To: Singh Sandeep-B37400 > Cc: u-boot@lists.denx.de; Singh Sandeep-B37400; aflem...@gmail.com > Subject: Re: [U-Boot] [PATCH] powe

[U-Boot] [PATCH] spi: Use DIV_ROUND_UP at appropriate places

2013-06-14 Thread Axel Lin
This change slightly improves readability. Signed-off-by: Axel Lin --- drivers/spi/cf_qspi.c | 2 +- drivers/spi/mxc_spi.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/spi/cf_qspi.c b/drivers/spi/cf_qspi.c index a37ac4e..06bcf91 100644 --- a/drivers/spi/cf_q

[U-Boot] [PATCH v4] powerpc/85xx: Add P1023RDB board support

2013-06-14 Thread Chunhe Lan
P1023RDB Specification: --- Memory subsystem: 512MB DDR3 (Fixed DDR on board) 64MB NOR flash 128MB NAND flash Ethernet: eTSEC1: Connected to Atheros AR8035 GETH PHY eTSEC2: Connected to Atheros AR8035 GETH PHY PCIe: Three mini-PCIe slots USB: Two USB2.0 T

[U-Boot] [PATCH 1/2] PPC 74xx_7xx: Fix build warnings for ELPPC board

2013-06-14 Thread Wolfgang Denk
Fix: misc.c: In function 'misc_init_r': misc.c:210:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] misc.c:211:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] misc.c:212:3: warning: dereferencing t

[U-Boot] [PATCH 2/2] PPC MPC83xx: Fix MPC8323ERDB build warning

2013-06-14 Thread Wolfgang Denk
Fix: mpc8323erdb.c: In function 'mac_read_from_eeprom': mpc8323erdb.c:198:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] Signed-off-by: Wolfgang Denk cc: Michael Barkowski cc: Kim Phillips --- board/freescale/mpc8323erdb/mpc8323erdb.c | 6 ++

[U-Boot] [PATCH 1/3] arm: spl: Fix SPL booting for OMAP3

2013-06-14 Thread Stefan Roese
SPL already has GD set to the correct location (in s_init), we mustn't move it around now since some data (clocks etc) is already present. This error was detected on the SPL port for the Compulab CM-T35 board (OMAP3530). Signed-off-by: Stefan Roese Cc: Tom Rini Cc: Albert ARIBAUD --- arch/arm

[U-Boot] [PATCH 2/3] arm: omap3: spl: Fix problem with 8bit NAND devices

2013-06-14 Thread Stefan Roese
Currently in OMAP3 SPL, the GPMC for NAND is configured for 16bit access. This patch adds support for 8bit NAND devices as well. Signed-off-by: Stefan Roese Cc: Tom Rini --- arch/arm/cpu/armv7/omap3/mem.c | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/cpu/armv7/omap3

[U-Boot] [PATCH 3/3] arm: omap3: Add SPL support to cm_t35

2013-06-14 Thread Stefan Roese
Add SPL U-Boot support to replace x-loader on the Compulab cm_t35 board. Currently only the 256MiB SDRAM board versions are supported. Tested by booting via MMC and NAND. Signed-off-by: Stefan Roese Cc: Tom Rini Cc: Igor Grinberg --- board/compulab/cm_t35/cm_t35.c | 18 +++- include/c

Re: [U-Boot] [PATCH 2/2] PPC MPC83xx: Fix MPC8323ERDB build warning

2013-06-14 Thread Wolfgang Denk
Dear Kim, In message <1371198068-3581-1-git-send-email...@denx.de> you wrote: > > mpc8323erdb.c: In function 'mac_read_from_eeprom': > mpc8323erdb.c:198:3: warning: dereferencing type-punned pointer will > break strict-aliasing rules [-Wstrict-aliasing] > > Signed-off-by: Wolfgang Denk > cc: Mi

Re: [U-Boot] [PATCH] powerpc/p1022ds: nand: introduce the TPL based on the SPL

2013-06-14 Thread Zhang Ying-B40530
-Original Message- From: Wood Scott-B07421 Sent: Friday, June 14, 2013 5:50 AM To: Zhang Ying-B40530 Cc: Wood Scott-B07421; u-boot@lists.denx.de; aflem...@gmail.com; Xie Xiaobo-R63061 Subject: Re: [PATCH] powerpc/p1022ds: nand: introduce the TPL based on the SPL On 06/13/2013 02:27:44

[U-Boot] [PATCH] dfu, nand: before write a buffer to nand, erase the nand sectors

2013-06-14 Thread Heiko Schocher
before writing the received buffer to nand, erase the nand sectors. If not doing this, nand write fails. See for more info here: http://lists.denx.de/pipermail/u-boot/2013-June/156361.html Signed-off-by: Heiko Schocher Cc: Scott Wood Cc: Pantelis Antoniou Cc: Lukasz Majewski Cc: Kyungmin Park

[U-Boot] [PATCH v2 3/3] Tegra: Config: Enable Tegra30/Tegra114 USB function

2013-06-14 Thread Jim Lin
Add USB EHCI, storage and network support. Tested on Tegra30 Cardhu, and Tegra114 Dalmore platforms. All works well. Signed-off-by: Jim Lin --- include/configs/beaver.h | 14 ++ include/configs/cardhu.h | 14 ++ include/configs/dalmore.h |

[U-Boot] [PATCH v2 1/3] ARM: Tegra: FDT: Add USB EHCI function for T30/T114

2013-06-14 Thread Jim Lin
Add DT node for USB EHCI function. Add support for T30-Cardhu, T30-Beaver, T114-Dalmore boards. Signed-off-by: Jim Lin --- arch/arm/dts/tegra114.dtsi| 27 +++ arch/arm/dts/tegra30.dtsi | 27 +++ board/nvidia/dts/tegra114

[U-Boot] [PATCH v2 2/3] ARM: Tegra: USB: EHCI: Add support for Tegra30/Tegra114

2013-06-14 Thread Jim Lin
Tegra30 and Tegra114 are compatible except PLL parameters. Tested on Tegra30 Cardhu, and Tegra114 Dalmore platforms. All works well. Signed-off-by: Jim Lin --- arch/arm/include/asm/arch-tegra/clk_rst.h | 10 + arch/arm/include/asm/arch-tegra/usb.h | 182 -- arch/arm/inclu

[U-Boot] [PATCH] Fix block device accesses beyond 2TiB

2013-06-14 Thread Sascha Silbe
With CONFIG_SYS_64BIT_LBA, lbaint_t gets defined as a 64-bit type, which is required to represent block numbers for storage devices that exceed 2TiB (the block size usually is 512B), e.g. recent hard drives. For some obscure reason, the current U-Boot code uses lbaint_t for the number of blocks to

[U-Boot] [PATCH 1/4] ARM: at91: atmel_nand: pmecc driver will select the galois table by sector size

2013-06-14 Thread Josh Wu
Define the galois index table offset in chip head file. So user do not need to set by himself. Driver will set it correctly according to sector_size. Signed-off-by: Josh Wu --- arch/arm/include/asm/arch-at91/at91sam9x5.h |6 ++ doc/README.atmel_pmecc | 14 -

[U-Boot] [PATCH 2/4] ARM: at91: sama5d3: remove unused definition about PMECC alpha table offset

2013-06-14 Thread Josh Wu
Signed-off-by: Josh Wu --- arch/arm/include/asm/arch-at91/sama5d3.h |2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/include/asm/arch-at91/sama5d3.h b/arch/arm/include/asm/arch-at91/sama5d3.h index 883b932..aff12a6 100644 --- a/arch/arm/include/asm/arch-at91/sama5d3.h +++ b/arch/

[U-Boot] [PATCH 4/4] ARM: at91: atmel_nand: add code to check the ONFI parameter ECC requirement

2013-06-14 Thread Josh Wu
1. if CONFIG_SYS_NAND_ONFI_DETECTION is defined, driver will check NAND flash's ecc minimum requirement in ONFI parameter. a) if CONFIG_PMECC_CAP, CONFIG_PMECC_SECTOR_SIZE are defined. then use it. Driver will display a WARNING if the values are different from ONFI parameters. b)

[U-Boot] [PATCH 0/4] ARM: at91: atmel_nand: check ONFI ecc minimum requirement

2013-06-14 Thread Josh Wu
in this patch series, first we make the nand driver can dynamic change sector size and ecc correct bits. Then we enable ONFI ecc parameters check. Josh Wu (4): ARM: at91: atmel_nand: pmecc driver will select the galois table by sector size ARM: at91: sama5d3: remove unused definition about

[U-Boot] [PATCH 3/4] mtd: atmel_nand: alloc memory instead of use static array for pmecc data

2013-06-14 Thread Josh Wu
In this way, the pmecc corraction capbility can change in run time. Signed-off-by: Josh Wu --- drivers/mtd/nand/atmel_nand.c | 62 - 1 file changed, 55 insertions(+), 7 deletions(-) diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nan

Re: [U-Boot] [PATCH] spi: Use DIV_ROUND_UP at appropriate places

2013-06-14 Thread Jagan Teki
Hi, IMHO: Can you please use the proper commit header prefix. I am just sharing my thoughts, ignore this if you know it already. I followed below syntax. ": : : " Ex: for this commit (seems like this commit changes two drivers) spi: cf_qspi | mxc_spi: Use DIV_ROUND_UP at appropriate places i

[U-Boot] [PATCH] da850evm: Use clrbits function with correct endianess

2013-06-14 Thread Christian Riesch
The current code uses clrbits_be32 which is incorrect since we are on a little endian machine here. This patch fixes this issue and also removes some unnecessary code: Reading the current GPIO bank state is not required if we are using the SET and CLEAR GPIO registers for setting/clearing bits. Si

[U-Boot] [PATCH v2 07/10] MIPS: xburst/start.S: rework relocation info check

2013-06-14 Thread Gabor Juhos
Make it similar to the code in mips{32,64}/start.S, in order to allow further unifications. Signed-off-by: Gabor Juhos Cc: Daniel Schwierzeck --- v2: also change register name in the comment --- arch/mips/cpu/xburst/start.S |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --

Re: [U-Boot] TFTP timeouts, i.mx fec problem?

2013-06-14 Thread Ruud Commandeur
Hi Eric, Thanks for your comments and sorry for my delayed response. Busy with some other projects last week... I noticed these pins on the board. They have optional pull-down resistors, which are not placed by default. This would result in mode[2:0] being 111: "All capable. Auto-negotiation e

Re: [U-Boot] [PATCH] spi: Use DIV_ROUND_UP at appropriate places

2013-06-14 Thread Axel Lin
2013/6/14 Jagan Teki : > Hi, > > IMHO: > Can you please use the proper commit header prefix. > > I am just sharing my thoughts, ignore this if you know it already. > I followed below syntax. > ": : : " > > Ex: for this commit (seems like this commit changes two drivers) > spi: cf_qspi | mxc_spi:

[U-Boot] [PATCH 1/2] spi: cf_qspi: Use DIV_ROUND_UP at appropriate place

2013-06-14 Thread Axel Lin
This change slightly improves readability. Signed-off-by: Axel Lin --- drivers/spi/cf_qspi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/cf_qspi.c b/drivers/spi/cf_qspi.c index a37ac4e..06bcf91 100644 --- a/drivers/spi/cf_qspi.c +++ b/drivers/spi/cf_qspi.c @@

[U-Boot] [PATCH 2/2] spi: mxc_spi: Use DIV_ROUND_UP at appropriate places

2013-06-14 Thread Axel Lin
This change slightly improves readability. Signed-off-by: Axel Lin --- drivers/spi/mxc_spi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/spi/mxc_spi.c b/drivers/spi/mxc_spi.c index 5bed858..2ea3228 100644 --- a/drivers/spi/mxc_spi.c +++ b/drivers/spi/mxc_spi

Re: [U-Boot] [PATCH] spi: Use DIV_ROUND_UP at appropriate places

2013-06-14 Thread Jagan Teki
On Fri, Jun 14, 2013 at 6:39 PM, Axel Lin wrote: > 2013/6/14 Jagan Teki : >> Hi, >> >> IMHO: >> Can you please use the proper commit header prefix. >> >> I am just sharing my thoughts, ignore this if you know it already. >> I followed below syntax. >> ": : : " >> >> Ex: for this commit (seems l

Re: [U-Boot] [PATCH 1/2] spi: cf_qspi: Use DIV_ROUND_UP at appropriate place

2013-06-14 Thread Richard Retanubun
On 14/06/13 09:12 AM, Axel Lin wrote: This change slightly improves readability. Signed-off-by: Axel Lin --- drivers/spi/cf_qspi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/cf_qspi.c b/drivers/spi/cf_qspi.c index a37ac4e..06bcf91 100644 --- a/drivers/spi/

Re: [U-Boot] [PATCH] spi: Use DIV_ROUND_UP at appropriate places

2013-06-14 Thread Richard Retanubun
On 14/06/13 09:09 AM, Axel Lin wrote: 2013/6/14 Jagan Teki: Hi, IMHO: Can you please use the proper commit header prefix. I am just sharing my thoughts, ignore this if you know it already. I followed below syntax. ":::" Ex: for this commit (seems like this commit changes two drivers) spi: cf_

Re: [U-Boot] [PATCH] spi: Use DIV_ROUND_UP at appropriate places

2013-06-14 Thread Jagan Teki
On Fri, Jun 14, 2013 at 6:54 PM, Richard Retanubun wrote: > On 14/06/13 09:09 AM, Axel Lin wrote: >> >> 2013/6/14 Jagan Teki: >>> >>> Hi, >>> >>> IMHO: >>> Can you please use the proper commit header prefix. >>> >>> I am just sharing my thoughts, ignore this if you know it already. >>> I followed

Re: [U-Boot] U-boot: Erase/read/write issue with S25fl256S flash device

2013-06-14 Thread Sourav Poddar
Hi, On Wednesday 12 June 2013 01:00 PM, Sourav Poddar wrote: Hi, I am working on qspi flash device S25FL256S at u-boot level. I am trying to make use of the existing spi_flash.c framework available at u-boot for erasing/reading/writing into the flash device. There are several issues(mentio

Re: [U-Boot] Pull request: u-boot-spi/master

2013-06-14 Thread Tom Rini
On Fri, Jun 14, 2013 at 12:20:11AM +0530, Jagannadha Sutradharudu Teki wrote: > The following changes since commit 48e0b2bd2b6ecc80cd25181ca2fb9c0eaffef320: > > powerpc/esdhc: Correct judgement for DATA PIO mode (2013-05-15 18:18:16 > -0500) > > are available in the git repository at: > >

Re: [U-Boot] U-boot: Erase/read/write issue with S25fl256S flash device

2013-06-14 Thread Jagan Teki
On 14-06-2013 20:03, Sourav Poddar wrote: Hi, On Wednesday 12 June 2013 01:00 PM, Sourav Poddar wrote: Hi, I am working on qspi flash device S25FL256S at u-boot level. I am trying to make use of the existing spi_flash.c framework available at u-boot for erasing/reading/writing into the flash

Re: [U-Boot] U-boot: Erase/read/write issue with S25fl256S flash device

2013-06-14 Thread Sourav Poddar
Hi Jagan, On Friday 14 June 2013 08:08 PM, Jagan Teki wrote: On 14-06-2013 20:03, Sourav Poddar wrote: Hi, On Wednesday 12 June 2013 01:00 PM, Sourav Poddar wrote: Hi, I am working on qspi flash device S25FL256S at u-boot level. I am trying to make use of the existing spi_flash.c framework a

Re: [U-Boot] Pull request: u-boot-spi/master

2013-06-14 Thread Jagan Teki
On 14-06-2013 20:06, Tom Rini wrote: On Fri, Jun 14, 2013 at 12:20:11AM +0530, Jagannadha Sutradharudu Teki wrote: The following changes since commit 48e0b2bd2b6ecc80cd25181ca2fb9c0eaffef320: powerpc/esdhc: Correct judgement for DATA PIO mode (2013-05-15 18:18:16 -0500) are available in t

Re: [U-Boot] Pull request: u-boot-spi/master

2013-06-14 Thread Tom Rini
On Fri, Jun 14, 2013 at 08:15:04PM +0530, Jagan Teki wrote: > On 14-06-2013 20:06, Tom Rini wrote: > >On Fri, Jun 14, 2013 at 12:20:11AM +0530, Jagannadha Sutradharudu Teki wrote: > > > >>The following changes since commit 48e0b2bd2b6ecc80cd25181ca2fb9c0eaffef320: > >> > >> powerpc/esdhc: Correct

Re: [U-Boot] Pull request: u-boot-spi/master

2013-06-14 Thread Tom Rini
On Fri, Jun 14, 2013 at 10:51:05AM -0400, Tom Rini wrote: > On Fri, Jun 14, 2013 at 08:15:04PM +0530, Jagan Teki wrote: > > On 14-06-2013 20:06, Tom Rini wrote: > > >On Fri, Jun 14, 2013 at 12:20:11AM +0530, Jagannadha Sutradharudu Teki > > >wrote: > > > > > >>The following changes since commit >

Re: [U-Boot] [PATCH] fdt: Ensure that libfdt_env.h comes from U-Boot

2013-06-14 Thread Joe Hershberger
Hi Simon, On Wed, Apr 17, 2013 at 10:35 AM, Tom Rini wrote: > On Mon, Mar 11, 2013 at 09:30:27AM -0700, Simon Glass wrote: > >> When building host utilities, we include libfdt.h from the host, not from >> U-Boot. This in turn brings in libfdt_env.h from the host, which can mess >> up the types an

Re: [U-Boot] [PATCH] arm, am33xx: move s_init to a common place

2013-06-14 Thread Tom Rini
On Fri, Jun 14, 2013 at 07:59:26AM +0200, Heiko Schocher wrote: > Hello Tom, > > Am 13.06.2013 17:53, schrieb Tom Rini: > > On Thu, Jun 13, 2013 at 05:53:17AM +0200, Heiko Schocher wrote: > > > >> move s_init from every board code to a common place. > >> > >> Signed-off-by: Heiko Schocher > >> C

Re: [U-Boot] Pull request: u-boot-spi/master

2013-06-14 Thread Jagan Teki
On Fri, Jun 14, 2013 at 8:23 PM, Tom Rini wrote: > On Fri, Jun 14, 2013 at 10:51:05AM -0400, Tom Rini wrote: >> On Fri, Jun 14, 2013 at 08:15:04PM +0530, Jagan Teki wrote: >> > On 14-06-2013 20:06, Tom Rini wrote: >> > >On Fri, Jun 14, 2013 at 12:20:11AM +0530, Jagannadha Sutradharudu Teki >> > >

Re: [U-Boot] [PATCH] fdt: Ensure that libfdt_env.h comes from U-Boot

2013-06-14 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/14/2013 10:56 AM, Joe Hershberger wrote: > Hi Simon, > > On Wed, Apr 17, 2013 at 10:35 AM, Tom Rini wrote: >> On Mon, Mar 11, 2013 at 09:30:27AM -0700, Simon Glass wrote: >> >>> When building host utilities, we include libfdt.h from the >>> ho

Re: [U-Boot] Pull request: u-boot-arm/master

2013-06-14 Thread Tom Rini
On Thu, Jun 13, 2013 at 05:49:43PM +0200, Albert ARIBAUD wrote: > Hello Tom, > > The following changes since commit > 4596dcc1d4ea5763e0f92cf5becd9fc7d4c6e674: > > am33xx/omap: Move save_omap_boot_params to omap-common/boot-common.c > (2013-06-05 08:46:49 -0400) > > are available in the git

Re: [U-Boot] [PATCH 1/2] spi: cf_qspi: Use DIV_ROUND_UP at appropriate place

2013-06-14 Thread Jagan Teki
On 14-06-2013 18:45, Richard Retanubun wrote: On 14/06/13 09:12 AM, Axel Lin wrote: This change slightly improves readability. Signed-off-by: Axel Lin --- drivers/spi/cf_qspi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/cf_qspi.c b/drivers/spi/cf_qspi.c i

Re: [U-Boot] Pull request: u-boot-spi/master

2013-06-14 Thread Tom Rini
On Fri, Jun 14, 2013 at 12:20:11AM +0530, Jagannadha Sutradharudu Teki wrote: > The following changes since commit 48e0b2bd2b6ecc80cd25181ca2fb9c0eaffef320: > > powerpc/esdhc: Correct judgement for DATA PIO mode (2013-05-15 18:18:16 > -0500) > > are available in the git repository at: > >

Re: [U-Boot] [PATCH 2/2] spi: mxc_spi: Use DIV_ROUND_UP at appropriate places

2013-06-14 Thread Jagan Teki
On 14-06-2013 18:43, Axel Lin wrote: This change slightly improves readability. Signed-off-by: Axel Lin --- drivers/spi/mxc_spi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/spi/mxc_spi.c b/drivers/spi/mxc_spi.c index 5bed858..2ea3228 100644 --- a/driver

Re: [U-Boot] [PATCH v3 2/2] imx: Add support for the SabreSD shipped with i.MX6DL

2013-06-14 Thread Fabio Estevam
On Tue, Jun 4, 2013 at 4:00 AM, Pierre Aubert wrote: > The SabreSD platform is available with i.MX6Q or i.MX6DL. This patch adds the > support of the i.MX6DL. The config file and the board directory are renamed > to remove the reference to the MX6Q. > > > Signed-off-by: Pierre Aubert > CC: Stefan

[U-Boot] [ANN] v2013.07-rc1

2013-06-14 Thread Tom Rini
Hey all, I've tagged and pushed v2013.07-rc1. Lots of things all over the place. If you've got changes outstanding still, please start gently poking custodians with patchwork links. I've got a good bit of stuff I need to deal with myself still, but please prod me all the same. Thanks all! --

Re: [U-Boot] TFTP timeouts, i.mx fec problem?

2013-06-14 Thread Wolfgang Denk
Dear Ruud, In message <15ae5a936f5e3a42a9144e66875a0a89309...@server1-derijp.clb-Benelux.lokaal> you wrote: > > I noticed these pins on the board. They have optional pull-down > resistors, which are not placed by default. This would result in > mode[2:0] being 111: "All capable. Auto-negotiatio

[U-Boot] [PATCH] sf: spansion: Correct name of S25FL128S 64K Sector part

2013-06-14 Thread Jagannadha Sutradharudu Teki
Corrected the name of S25FL128S 64K sector part SPI flash, S25FL128S supported has been added in below commit "sf: spansion: Add support for S25FL128S" (sha1: 1bfb9f156aa66cca6bb9c773867a1f02a84b14be) Signed-off-by: Jagannadha Sutradharudu Teki --- drivers/mtd/spi/spansion.c | 2 +- 1 file chang

[U-Boot] [PATCH RESEND] mx27: add i2c clock

2013-06-14 Thread Philippe Reynes
Signed-off-by: Eric Jarrige Signed-off-by: Philippe Reynes --- arch/arm/cpu/arm926ejs/mx27/generic.c |2 ++ arch/arm/include/asm/arch-mx27/clock.h |1 + 2 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/arm/cpu/arm926ejs/mx27/generic.c b/arch/arm/cpu/arm926ejs/mx27/ge

[U-Boot] [PATCH v2] mx27: add function enable_caches

2013-06-14 Thread Philippe Reynes
Signed-off-by: Philippe Reynes --- arch/arm/cpu/arm926ejs/mx27/generic.c |8 1 files changed, 8 insertions(+), 0 deletions(-) v2: - add flag CONFIG_SYS_DCACHE_OFF diff --git a/arch/arm/cpu/arm926ejs/mx27/generic.c b/arch/arm/cpu/arm926ejs/mx27/generic.c index 41bb84b..bffbadd 1006

Re: [U-Boot] [PATCH] powerpc/p1022ds: nand: introduce the TPL based on the SPL

2013-06-14 Thread Scott Wood
On 06/14/2013 05:08:49 AM, Zhang Ying-B40530 wrote: -Original Message- From: Wood Scott-B07421 Sent: Friday, June 14, 2013 5:50 AM To: Zhang Ying-B40530 Cc: Wood Scott-B07421; u-boot@lists.denx.de; aflem...@gmail.com; Xie Xiaobo-R63061 Subject: Re: [PATCH] powerpc/p1022ds: nand: intro

[U-Boot] spi: cf_spi: Question about checking (dspi->sr & 0x0000F000) witch magic number 4

2013-06-14 Thread Axel Lin
Hi, While reading the code in cfspi_tx(): while ((dspi->sr & 0xF000) >= 4) ; I don't see the point of checking "(dspi->sr & 0xF000) >= 4)". I'm wondering if it should be while ((dspi->sr & 0xF000) >> 12) >= 4) ; or simply while (dspi->sr & 0xF000) ; Curren

[U-Boot] [PATCH 0/2] video: lcd: splash screen prepare changes

2013-06-14 Thread Robert Winkler
These 2 patches are the result of discussion in these threads: http://lists.denx.de/pipermail/u-boot/2013-May/155463.html http://lists.denx.de/pipermail/u-boot/2013-June/155630.html http://lists.denx.de/pipermail/u-boot/2013-June/155632.html The upshot is, move splash_screen_prepare to a common lo

[U-Boot] [PATCH 1/2] video: lcd: Add CONFIG_SPLASH_SCREEN_PREPARE support to CONFIG_VIDEO

2013-06-14 Thread Robert Winkler
Create splash.c/h to put the function and any future common splash screen code in. Signed-off-by: Robert Winkler --- common/Makefile | 1 + common/lcd.c| 19 ++- common/splash.c | 37 + drivers/video/cfb

[U-Boot] [PATCH 2/2] video: lcd: Make splash_screen_prepare weak, remove config macro

2013-06-14 Thread Robert Winkler
Remove CONFIG_SPLASH_SCREEN_PREPARE from README Add doc/README.splashprepare to document functionality Signed-off-by: Robert Winkler --- README | 8 common/splash.c | 14 -- doc/README.splashprepare | 8 3 files changed, 12 insertions(+)

Re: [U-Boot] [PATCH] sf: spansion: Correct name of S25FL128S 64K Sector part

2013-06-14 Thread Jagan Teki
On 14-06-2013 21:09, Jagannadha Sutradharudu Teki wrote: Corrected the name of S25FL128S 64K sector part SPI flash, S25FL128S supported has been added in below commit "sf: spansion: Add support for S25FL128S" (sha1: 1bfb9f156aa66cca6bb9c773867a1f02a84b14be) Signed-off-by: Jagannadha Sutradharudu

Re: [U-Boot] [PATCH 2/2] spi: mxc_spi: Use DIV_ROUND_UP at appropriate places

2013-06-14 Thread Jagan Teki
On 14-06-2013 20:41, Jagan Teki wrote: On 14-06-2013 18:43, Axel Lin wrote: This change slightly improves readability. Signed-off-by: Axel Lin --- drivers/spi/mxc_spi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/spi/mxc_spi.c b/drivers/spi/mxc_spi.c in

Re: [U-Boot] [PATCH 1/2] spi: cf_qspi: Use DIV_ROUND_UP at appropriate place

2013-06-14 Thread Jagan Teki
On 14-06-2013 20:40, Jagan Teki wrote: On 14-06-2013 18:45, Richard Retanubun wrote: On 14/06/13 09:12 AM, Axel Lin wrote: This change slightly improves readability. Signed-off-by: Axel Lin --- drivers/spi/cf_qspi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers

Re: [U-Boot] [PATCH v4 00/14] sf: Update sf framework to support all sizes of flashes

2013-06-14 Thread Jagan Teki
Hi, Any comments on this series. -- Thanks, Jagan. On Fri, Jun 14, 2013 at 2:25 AM, Jagannadha Sutradharudu Teki wrote: > This is a v4 patch series with some modifications on previous series with same > head "sf: Update sf framework to support all sizes of flashes" > > These patches removes som

Re: [U-Boot] fsl_esdhc: Do not clear interrupt status bits until data processed

2013-06-14 Thread Andy Fleming
On Tue, Jun 11, 2013 at 10:34:22AM -0500, Andrew Gabbasov wrote: > After waiting for the command completion event, the interrupt status > bits, that occured to be set by that time, are cleared by writing them > back. It is supposed, that it should be command related bits (command > complete and may

Re: [U-Boot] [U-Boot, V3, REPOST, 1/4] README: document CONFIG_ENV_IS_IN_MMC

2013-06-14 Thread Andy Fleming
On Tue, Jun 11, 2013 at 03:14:00PM -0600, Stephen Warren wrote: > From: Stephen Warren > > Describe the meaning of CONFIG_ENV_IS_IN_MMC, and all related defines that > must or can be set when using that option. > > Signed-off-by: Stephen Warren > Reviewed-by: Peter Korsgaard > Acked-by: Tom Ri

Re: [U-Boot] [U-Boot, V3, REPOST, 4/4] ARM: tegra: make use of negative ENV_OFFSET on NVIDIA boards

2013-06-14 Thread Andy Fleming
On Tue, Jun 11, 2013 at 03:14:03PM -0600, Stephen Warren wrote: > From: Stephen Warren > > Use a negative value of CONFIG_ENV_OFFSET for all NVIDIA reference boards > that store the U-Boot environment in the 2nd eMMC boot partition. This > makes U-Boot agnostic to the size of the eMMC boot partit

Re: [U-Boot] [U-Boot, V3, REPOST, 2/4] mmc: report capacity for the selected partition

2013-06-14 Thread Andy Fleming
On Tue, Jun 11, 2013 at 03:14:01PM -0600, Stephen Warren wrote: > From: Stephen Warren > > Enhance the MMC core to calculate the size of each MMC partition, and > update mmc->capacity whenever a partition is selected. This causes: > > mmc dev 0 1 ; mmcinfo > > ... to report the size of the curr

Re: [U-Boot] [U-Boot, V3, REPOST, 3/4] env_mmc: allow negative CONFIG_ENV_OFFSET

2013-06-14 Thread Andy Fleming
On Tue, Jun 11, 2013 at 03:14:02PM -0600, Stephen Warren wrote: > From: Stephen Warren > > A negative value of CONFIG_ENV_OFFSET is treated as a backwards offset > from the end of the eMMC device/partition, rather than a forwards offset > from the start. > > This is useful when a single board ma

[U-Boot] [PATCH] cm_t35: Fix cm_t35 for weak splash_screen_prepare

2013-06-14 Thread Robert Winkler
Signed-off-by: Robert Winkler --- board/compulab/cm_t35/cm_t35.c | 2 +- include/configs/cm_t35.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/board/compulab/cm_t35/cm_t35.c b/board/compulab/cm_t35/cm_t35.c index b0b80e5..95098af 100644 --- a/board/compulab/cm_t35/cm

Re: [U-Boot] [PATCH] powerpc/mpc85xx: Enabling CPC conditionally based on hwconfig options

2013-06-14 Thread Scott Wood
On 06/14/2013 12:26:18 AM, Singh Sandeep-B37400 wrote: This was done with the intension of providing greater configurability. When en_cpc is defined then it's entirely up to user to decide which cpcs are to be enabled. Hence we do following: if_defined("en_cpc"){ only_then

[U-Boot] Please pull u-boot-mmc.git

2013-06-14 Thread Andy Fleming
The following changes since commit 077becc345717c3cf32e88316298b74d0cff6581: Merge branch 'master' of git://git.denx.de/u-boot-74xx-7xx (2013-06-11 18:11:47 -0400) are available in the git repository at: git://www.denx.de/git/u-boot-mmc.git master for you to fetch changes up to 91171091c6

Re: [U-Boot] [PATCH v2 1/3] ARM: Tegra: FDT: Add USB EHCI function for T30/T114

2013-06-14 Thread Thierry Reding
On Fri, Jun 14, 2013 at 06:41:40PM +0800, Jim Lin wrote: > Add DT node for USB EHCI function. > Add support for T30-Cardhu, T30-Beaver, T114-Dalmore boards. > > Signed-off-by: Jim Lin Hi Jim, none of the patches in this series have a changelog that list the changes between v1 to v2. It's custom

[U-Boot] [PATCH 1/4] sf: Unify spi_flash write code

2013-06-14 Thread Jagannadha Sutradharudu Teki
Move common flash write code into spi_flash_write_common(). Signed-off-by: Jagannadha Sutradharudu Teki --- drivers/mtd/spi/spi_flash.c | 122 --- drivers/mtd/spi/spi_flash_internal.h | 6 ++ 2 files changed, 60 insertions(+), 68 deletions(-) diff --gi

[U-Boot] [PATCH 3/4] sf: Add debug messages on spi_flash_read_common

2013-06-14 Thread Jagannadha Sutradharudu Teki
- Added debug's on spi_flash_read_common() - Added space Signed-off-by: Jagannadha Sutradharudu Teki --- drivers/mtd/spi/spi_flash.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/spi/spi_flash.c b/drivers/mtd/spi/spi_flash.c index cb38b66..f3245a4 1

[U-Boot] [PATCH 4/4] sf: Warn to use BAR for > 16MiB flashes

2013-06-14 Thread Jagannadha Sutradharudu Teki
Warning for > 16MiB flashes to #define CONFIG_SPI_FLASH_BAR Signed-off-by: Jagannadha Sutradharudu Teki --- drivers/mtd/spi/spi_flash.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/spi/spi_flash.c b/drivers/mtd/spi/spi_flash.c index f3245a4..911c5e8 10064

[U-Boot] [PATCH 2/4] sf: Place the sf calls in proper order

2013-06-14 Thread Jagannadha Sutradharudu Teki
Placed the sf calls in proper order - erase/write/read Signed-off-by: Jagannadha Sutradharudu Teki --- drivers/mtd/spi/spi_flash.c | 186 ++-- 1 file changed, 93 insertions(+), 93 deletions(-) diff --git a/drivers/mtd/spi/spi_flash.c b/drivers/mtd/spi/spi

Re: [U-Boot] [PATCH 3/4] mtd: atmel_nand: alloc memory instead of use static array for pmecc data

2013-06-14 Thread Scott Wood
On 06/14/2013 06:20:41 AM, Josh Wu wrote: +static int pmecc_data_alloc(struct atmel_nand_host *host) +{ + const int cap = host->pmecc_corr_cap; + int size; + + size = (2 * cap + 1) * sizeof(int16_t); + host->pmecc_partial_syn = (int16_t *)malloc(size); + host->pmecc_

Re: [U-Boot] [PATCH 4/4] ARM: at91: atmel_nand: add code to check the ONFI parameter ECC requirement

2013-06-14 Thread Scott Wood
On 06/14/2013 06:20:42 AM, Josh Wu wrote: +static int pmecc_choose_ecc(struct atmel_nand_host *host, + struct nand_chip *chip, + int *cap, int *sector_size) +{ + /* Get ECC requirement from ONFI parameters */ + *cap = *sector_size = 0; + if (chip->onf

Re: [U-Boot] [PATCH] dfu, nand: before write a buffer to nand, erase the nand sectors

2013-06-14 Thread Scott Wood
On 06/14/2013 05:24:03 AM, Heiko Schocher wrote: diff --git a/drivers/dfu/dfu_nand.c b/drivers/dfu/dfu_nand.c index 7dc89b2..6f9a934 100644 --- a/drivers/dfu/dfu_nand.c +++ b/drivers/dfu/dfu_nand.c @@ -63,12 +63,25 @@ static int nand_block_op(enum dfu_nand_op op, struct dfu_entity *dfu,

[U-Boot] [PATCH] imx: nitrogen6x: Add splash screen support to nitrogen6x

2013-06-14 Thread Robert Winkler
Depends on: 18d1c87ebe2a6a05905ae1cdd7a31abe6b5ee39d b38050121cd3fea821a048661cdad5bf71f3a2b8 Signed-off-by: Robert Winkler --- board/boundary/nitrogen6x/nitrogen6x.c | 21 + include/configs/nitrogen6x.h | 10 +- 2 files changed, 30 insertions(+), 1 deletion