public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Thomas Weber <thomas.weber.linux@googlemail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] devkit8000: Fix NAND SPL on boards with 256MB NAND
Date: Tue, 08 Nov 2011 21:53:21 +0100	[thread overview]
Message-ID: <4EB996C1.8020008@gmail.com> (raw)
In-Reply-To: <1319652551-31573-1-git-send-email-trini@ti.com>

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

  reply	other threads:[~2011-11-08 20:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2011-11-09  8:43   ` Thomas Weber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4EB996C1.8020008@gmail.com \
    --to=thomas.weber.linux@googlemail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox