All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Eric Bénard" <eric@eukrea.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] mx28evk: add NAND commands
Date: Mon,  8 Apr 2013 15:20:16 +0200	[thread overview]
Message-ID: <1365427216-15220-1-git-send-email-eric@eukrea.com> (raw)

the mx28evk has a socket which can contains a TSOP48 NAND flash.
So enable the nand command and it's trimffs option.

Tested on MX28EVK with NAND :
NAND:  128 MiB
MX28EVK U-Boot > nand info

Device 0: nand0, sector size 16 KiB
  Page size      2048 b
  OOB size         64 b
  Erase size    16384 b

and without NAND :
NAND:  No NAND device found!!!
0 MiB
MX28EVK U-Boot > nand info

MX28EVK U-Boot >

Signed-off-by: Eric B?nard <eric@eukrea.com>
---
 include/configs/mx28evk.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/configs/mx28evk.h b/include/configs/mx28evk.h
index 0d918a1..789d980 100644
--- a/include/configs/mx28evk.h
+++ b/include/configs/mx28evk.h
@@ -69,6 +69,8 @@
 #define CONFIG_CMD_USB
 #define CONFIG_CMD_BOOTZ
 #define CONFIG_CMD_I2C
+#define CONFIG_CMD_NAND
+#define CONFIG_CMD_NAND_TRIMFFS
 
 /*
  * Memory configurations
-- 
1.7.11.7

             reply	other threads:[~2013-04-08 13:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-08 13:20 Eric Bénard [this message]
2013-04-08 13:24 ` [U-Boot] [PATCH] mx28evk: add NAND commands Fabio Estevam
2013-04-08 13:26   ` Eric Bénard
2013-04-08 13:27   ` Tom Rini
2013-04-08 13:28     ` Eric Bénard

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=1365427216-15220-1-git-send-email-eric@eukrea.com \
    --to=eric@eukrea.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.