[U-Boot] [PATCH v5 4/8] imx: mx53ard: Add support for NAND Flash

2013-02-08 Thread Benoît Thébaudeau
Add support for the Samsung K9LAG08U0M NAND Flash (2-GiB MLC NAND Flash, 2-kiB pages, 256-kiB blocks, 30-ns R/W cycles, 1 CS) on mx53ard. eNFC_CLK_ROOT is set up with a cycle time of 37.5 ns (400 MHz / 3 / 5) for this board, which satisfies the 30-ns NF R/W cycle requirement. Signed-off-by: Benoî

[U-Boot] [PATCH v5 3/8] imx: mx5: lowlevel_init: Simplify code

2013-02-08 Thread Benoît Thébaudeau
Don't use several instructions to build constant values. Signed-off-by: Benoît Thébaudeau Acked-by: Stefano Babic --- Changes in v5: None Changes in v4: None Changes in v3: - New patch. Changes in v2: None arch/arm/cpu/armv7/mx5/lowlevel_init.S |8 ++-- 1 file changed, 2 insertions(+

[U-Boot] [PATCH v5 1/8] nand: mxc: Prepare to add support for i.MX5

2013-02-08 Thread Benoît Thébaudeau
Add some abstraction to NFC defitnitions so that some parts of the current code can also be used for future i.MX5 code. Clean up a few things by the way. Signed-off-by: Benoît Thébaudeau --- Changes in v5: None Changes in v4: None Changes in v3: - Separate code reformatting from behavioral chan

[U-Boot] [PATCH v5 7/8] Makefile: u-boot-with-spl.bin: Pad to CONFIG_SPL_MAX_SIZE

2013-02-08 Thread Benoît Thébaudeau
PAD_TO is not a generic SPL configuration option, so use CONFIG_SPL_MAX_SIZE instead. Signed-off-by: Benoît Thébaudeau --- Changes in v5: None Changes in v4: - New patch. Changes in v3: None Changes in v2: None Makefile |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ma

[U-Boot] [PATCH v5 2/8] nand: mxc: Add support for i.MX5

2013-02-08 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau --- Changes in v5: None Changes in v4: None Changes in v3: - Separate code reformatting from behavioral changes. Changes in v2: None arch/arm/include/asm/arch-mx5/imx-regs.h |9 +++ drivers/mtd/nand/mxc_nand.c | 129 +++

[U-Boot] [PATCH v5 5/8] nand: mxc: Fix debug trace in mxc_nand_read_oob_syndrome()

2013-02-08 Thread Benoît Thébaudeau
The page number indicated in the debug trace of mxc_nand_read_oob_syndrome() did not match the page being worked on. By the way, replace the GCC-specific __FUNCTION__ with __func__. Signed-off-by: Benoît Thébaudeau --- Changes in v5: - Replace __FUNCTION__ with __func__. Changes in v4: - New

[U-Boot] [PATCH v5 6/8] nand: mxc: Use appropriate page number in syndrome functions

2013-02-08 Thread Benoît Thébaudeau
The syndrome functions should use the page number passed as argument instead of the page number saved upon NAND_CMD_READ0. This does not make any difference if the NAND_NO_AUTOINCR option is set, but otherwise this fixes accesses to the wrong pages. Signed-off-by: Benoît Thébaudeau --- Changes i

[U-Boot] [PATCH v5 8/8] nand: mxc: Switch NAND SPL to generic SPL

2013-02-08 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau --- Changes in v5: - Remove spaces between function name and open parenthesis. - Fix mx31pdk and tx25 Makefile-s and SPL linker scripts. - Remove the useless definition of CONFIG_SPL_LDSCRIPT. - Fix the call to nand_boot(). Changes in v4: - New patch. Change

Re: [U-Boot] U-boot nand bug, read.part should fail

2013-02-08 Thread Scott Wood
On 02/08/2013 10:44:30 AM, Harvey Chapman wrote: Eh, I shouldn't post code that quickly… Try this: diff --git a/common/cmd_nand.c b/common/cmd_nand.c --- a/common/cmd_nand.c +++ b/common/cmd_nand.c @@ -621,60 +621,80 @@ int do_nand(cmd_tbl_t * cmdtp, int flag, nand = &nand_info[

Re: [U-Boot] [PATCH v5 8/8] nand: mxc: Switch NAND SPL to generic SPL

2013-02-08 Thread Benoît Thébaudeau
On Friday, February 8, 2013 11:49:27 PM, Benoît Thébaudeau wrote: > Subject: [PATCH v5 8/8] nand: mxc: Switch NAND SPL to generic SPL > > Signed-off-by: Benoît Thébaudeau > --- > Changes in v5: > - Remove spaces between function name and open parenthesis. > - Fix mx31pdk and tx25 Makefile-s and

Re: [U-Boot] [PATCH 1/7] Add cros_ec driver.

2013-02-08 Thread Doug Anderson
Hung-ying Tyran, On Fri, Feb 8, 2013 at 3:54 PM, Doug Anderson wrote: > Hung-ying Tyan, > > On Fri, Feb 8, 2013 at 5:05 AM, Hung-ying Tyan wrote: >> Signed-off-by: Bernie Thompson >> Signed-off-by: Bill Richardson >> Signed-off-by: Che-Liang Chiou >> Signed-off-by: Doug Anderson >> Signed-of

Re: [U-Boot] [PATCH 1/7] Add cros_ec driver.

2013-02-08 Thread Doug Anderson
Hung-ying Tyan, On Fri, Feb 8, 2013 at 5:05 AM, Hung-ying Tyan wrote: > Signed-off-by: Bernie Thompson > Signed-off-by: Bill Richardson > Signed-off-by: Che-Liang Chiou > Signed-off-by: Doug Anderson > Signed-off-by: Gabe Black > Signed-off-by: Hung-ying Tyan > Signed-off-by: Louis Yung-Chi

[U-Boot] [PATCH] tpm: Add TPM command library and utility commands

2013-02-08 Thread Che-Liang Chiou
TPM command library implements a subset of TPM commands defined in TCG Main Specification 1.2 that are useful for implementing secure boot. More TPM commands could be added out of necessity. You may exercise these commands through the 'tpm' command. However, the 'tpm' command is too primitive for

Re: [U-Boot] U-boot nand bug, read.part should fail

2013-02-08 Thread Harvey Chapman
On Feb 8, 2013, at 6:34 PM, Scott Wood wrote: > On 02/08/2013 10:44:30 AM, Harvey Chapman wrote: > This should go inside the "not raw" path of the previous "if" statement. > Please use tabs to indent. > We already have "nand" in this context. > We already have "size" -- and you don't even seem to

Re: [U-Boot] [PATCH] Allow u-boot to be silent without forcing Linux to be

2013-02-08 Thread Simon Glass
Hi Joe, On Fri, Feb 8, 2013 at 12:17 PM, Joe Hershberger wrote: > That's a bit presumptuous of you, u-boot! > > Signed-off-by: Joe Hershberger > --- > common/cmd_bootm.c | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c > in

[U-Boot] [Pull] u-boot-fdt/master

2013-02-08 Thread Jerry Van Baren
Dear Tom, Please pull u-boot-fdt. Thanks, gvb The following changes since commit d62ef5619c9249772247d6af3b8e65207ae0c871: sf: stmicro: Add support for N25Q256A (2013-02-06 10:10:00 -0500) are available in the git repository at: git://git.denx.de/u-boot-fdt.git master for you to fetch ch

Re: [U-Boot] [PATCH] CONFIG_BOOTDELAY default should not affect runtime

2013-02-08 Thread Wolfgang Denk
Dear Joe Hershberger, In message <1360355280-1197-1-git-send-email-joe.hershber...@ni.com> you wrote: > Because the code that handles bootdelay is compiled in conditionally > based on the default value, you are restricted in the default, > regardless of what you want the runtime options to be. >

Re: [U-Boot] [PATCH] tpm: Add TPM command library and utility commands

2013-02-08 Thread Wolfgang Denk
Dear Che-Liang Chiou, In message <1360371227-13404-1-git-send-email-clch...@chromium.org> you wrote: > TPM command library implements a subset of TPM commands defined in TCG > Main Specification 1.2 that are useful for implementing secure boot. > More TPM commands could be added out of necessity.

Re: [U-Boot] ./MAKEALL arm is buggy

2013-02-08 Thread Albert ARIBAUD
Hi Allen, On Wed, 29 Aug 2012 11:33:06 -0700, Allen Martin wrote: > On Wed, Aug 29, 2012 at 09:55:17AM -0700, Tom Warren wrote: > > Allen/Albert, > > > > > -Original Message- > > > From: Allen Martin [mailto:amar...@nvidia.com] > > > Sent: Tuesday, August 28, 2012 5:08 PM > > > To: Tom

Re: [U-Boot] ./MAKEALL arm is buggy - scratch that...

2013-02-08 Thread Albert ARIBAUD
Scratch thtat: for some reason this old discussion popped up under my eyes and due to my current issues with MAKEALL, I blanked on the date. I'll repost that part on parallel MAKEALL failing in parallel apart. Sorry for the noise. :/ On Sat, 9 Feb 2013 08:31:06 +0100, Albert ARIBAUD wrote: > Hi

[U-Boot] Builds in MAKEALL -a arm failing sometimes when BUILD_NBUILDS>1?

2013-02-08 Thread Albert ARIBAUD
Hello, ... this time from the present. Recently I have seen MAKEALL -a arm fail sporadically on some boards during parallel builds; more specifically, with BUILD_NBUILDS=8 and BUILD_NCPUS=1. Has anyone seen this, or is anyone working on MAKEALL arm now and willing to give a look? Note that the

<    1   2