public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] devkit8000: Fix NAND SPL on boards with 256MB NAND
@ 2011-10-26 18:09 Tom Rini
  2011-11-08 20:53 ` Thomas Weber
  0 siblings, 1 reply; 3+ messages in thread
From: Tom Rini @ 2011-10-26 18:09 UTC (permalink / raw)
  To: u-boot

The devkit8000 ships with either a 128MB or 256MB NAND chip.  In
order for SPL to work with 256MB NAND CONFIG_SYS_NAND_5_ADDR_CYCLE
needs to be set.  After talking with Scott Wood this should be
safe to set even for smaller NAND chips.

Cc: Scott Wood <scottwood@freescale.com>
Cc: Frederik Kriewitz <frederik@kriewitz.eu>
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
Signed-off-by: Tom Rini <trini@ti.com>
---
 include/configs/devkit8000.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/configs/devkit8000.h b/include/configs/devkit8000.h
index ba0d23e..1856aa9 100644
--- a/include/configs/devkit8000.h
+++ b/include/configs/devkit8000.h
@@ -332,6 +332,7 @@
 #define CONFIG_SPL_BSS_MAX_SIZE		0x80000
 
 /* NAND boot config */
+#define CONFIG_SYS_NAND_5_ADDR_CYCLE
 #define CONFIG_SYS_NAND_PAGE_COUNT	64
 #define CONFIG_SYS_NAND_PAGE_SIZE	2048
 #define CONFIG_SYS_NAND_OOBSIZE		64
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH] devkit8000: Fix NAND SPL on boards with 256MB NAND
  2011-10-26 18:09 [U-Boot] [PATCH] devkit8000: Fix NAND SPL on boards with 256MB NAND Tom Rini
@ 2011-11-08 20:53 ` Thomas Weber
  2011-11-09  8:43   ` Thomas Weber
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Weber @ 2011-11-08 20:53 UTC (permalink / raw)
  To: u-boot

Am 26.10.2011 20:09, schrieb Tom Rini:
> The devkit8000 ships with either a 128MB or 256MB NAND chip.  In
> order for SPL to work with 256MB NAND CONFIG_SYS_NAND_5_ADDR_CYCLE
> needs to be set.  After talking with Scott Wood this should be
> safe to set even for smaller NAND chips.
>
> Cc: Scott Wood <scottwood@freescale.com>
> Cc: Frederik Kriewitz <frederik@kriewitz.eu>
> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
> Signed-off-by: Tom Rini <trini@ti.com>
> ---
>  include/configs/devkit8000.h |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/include/configs/devkit8000.h b/include/configs/devkit8000.h
> index ba0d23e..1856aa9 100644
> --- a/include/configs/devkit8000.h
> +++ b/include/configs/devkit8000.h
> @@ -332,6 +332,7 @@
>  #define CONFIG_SPL_BSS_MAX_SIZE		0x80000
>  
>  /* NAND boot config */
> +#define CONFIG_SYS_NAND_5_ADDR_CYCLE
>  #define CONFIG_SYS_NAND_PAGE_COUNT	64
>  #define CONFIG_SYS_NAND_PAGE_SIZE	2048
>  #define CONFIG_SYS_NAND_OOBSIZE		64

Tested-by: Thomas Weber <weber@corscience.de>

on Devkit8000 with 256 MB NAND.

Tomorrow I will test it with a 128 MB NAND devkit8000.

Thomas

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH] devkit8000: Fix NAND SPL on boards with 256MB NAND
  2011-11-08 20:53 ` Thomas Weber
@ 2011-11-09  8:43   ` Thomas Weber
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas Weber @ 2011-11-09  8:43 UTC (permalink / raw)
  To: u-boot

Hello Tom,

Am 08.11.2011 21:53, schrieb Thomas Weber:
> Am 26.10.2011 20:09, schrieb Tom Rini:
>> The devkit8000 ships with either a 128MB or 256MB NAND chip.  In
>> order for SPL to work with 256MB NAND CONFIG_SYS_NAND_5_ADDR_CYCLE
>> needs to be set.  After talking with Scott Wood this should be
>> safe to set even for smaller NAND chips.
>>
>> Cc: Scott Wood <scottwood@freescale.com>
>> Cc: Frederik Kriewitz <frederik@kriewitz.eu>
>> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
>> Signed-off-by: Tom Rini <trini@ti.com>
>> ---
>>  include/configs/devkit8000.h |    1 +
>>  1 files changed, 1 insertions(+), 0 deletions(-)
>>
>> diff --git a/include/configs/devkit8000.h b/include/configs/devkit8000.h
>> index ba0d23e..1856aa9 100644
>> --- a/include/configs/devkit8000.h
>> +++ b/include/configs/devkit8000.h
>> @@ -332,6 +332,7 @@
>>  #define CONFIG_SPL_BSS_MAX_SIZE		0x80000
>>  
>>  /* NAND boot config */
>> +#define CONFIG_SYS_NAND_5_ADDR_CYCLE
>>  #define CONFIG_SYS_NAND_PAGE_COUNT	64
>>  #define CONFIG_SYS_NAND_PAGE_SIZE	2048
>>  #define CONFIG_SYS_NAND_OOBSIZE		64
> 
> Tested-by: Thomas Weber <weber@corscience.de>
> 
> on Devkit8000 with 256 MB NAND.
> 
> Tomorrow I will test it with a 128 MB NAND devkit8000.
> 
> Thomas

Also on Devkit8000 with 128 MB NAND successful tested.

Thomas

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-11-09  8:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-26 18:09 [U-Boot] [PATCH] devkit8000: Fix NAND SPL on boards with 256MB NAND Tom Rini
2011-11-08 20:53 ` Thomas Weber
2011-11-09  8:43   ` Thomas Weber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox