public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] mx28evk: add NAND commands
@ 2013-04-08 13:20 Eric Bénard
  2013-04-08 13:24 ` Fabio Estevam
  0 siblings, 1 reply; 5+ messages in thread
From: Eric Bénard @ 2013-04-08 13:20 UTC (permalink / raw)
  To: u-boot

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

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

end of thread, other threads:[~2013-04-08 13:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-08 13:20 [U-Boot] [PATCH] mx28evk: add NAND commands Eric Bénard
2013-04-08 13:24 ` 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

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