public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Linu Cherian <linucherian@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] hawkboard: Fix SPL Nand driver misconfiguration
Date: Fri, 27 Jul 2012 13:51:53 +0530	[thread overview]
Message-ID: <1343377313-30301-1-git-send-email-linucherian@gmail.com> (raw)

Hawkboard was using the wrong nand_read_page version for SPL image.
As a side effect, the u-boot image loaded by the SPL from nand
was getting corrupted.

Enable CONFIG_SYS_NAND_HW_ECC_OOBFIRST to select the correct nand_read_page
algorithm for SPL.

Signed-off-by: Linu Cherian <linucherian@gmail.com>
---
 include/configs/hawkboard.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/configs/hawkboard.h b/include/configs/hawkboard.h
index c6e8859..c6e9ce5 100644
--- a/include/configs/hawkboard.h
+++ b/include/configs/hawkboard.h
@@ -123,6 +123,7 @@
 #define CONFIG_SYS_NAND_USE_FLASH_BBT
 #define CONFIG_NAND_DAVINCI
 #define CONFIG_SYS_NAND_4BIT_HW_ECC_OOBFIRST
+#define CONFIG_SYS_NAND_HW_ECC_OOBFIRST /* SPL nand driver configuration */
 #define CFG_DAVINCI_STD_NAND_LAYOUT
 #define CONFIG_SYS_NAND_CS		3
 #define CONFIG_SYS_NAND_PAGE_2K
-- 
1.7.1

             reply	other threads:[~2012-07-27  8:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-27  8:21 Linu Cherian [this message]
2012-07-27  9:46 ` [U-Boot] [PATCH] hawkboard: Fix SPL Nand driver misconfiguration Sughosh Ganu
2012-07-30 11:02   ` Sughosh Ganu
2012-07-30 14:23   ` Tom Rini
2012-07-30 18:22 ` Wolfgang Denk

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=1343377313-30301-1-git-send-email-linucherian@gmail.com \
    --to=linucherian@gmail.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