[U-Boot] [PATCH 3/5] ARM: sheevaplug: add MTD defaults

Gerald Kerma drEagle at doukki.net
Sun Sep 7 18:01:22 CEST 2014


This patch add MTDIDS and MTDPARTS defaults settings to sheevaplug

Signed-off-by: Gerald Kerma <drEagle at doukki.net>

 Changes in v1:
 - add MTDIDS and MTDPARTS default to sheevaplug

---
 include/configs/sheevaplug.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/include/configs/sheevaplug.h b/include/configs/sheevaplug.h
index 9661b8f..0a3118d 100644
--- a/include/configs/sheevaplug.h
+++ b/include/configs/sheevaplug.h
@@ -83,6 +83,11 @@
 	"x_bootcmd_usb=usb start\0" \
 	"x_bootargs_root=root=/dev/mtdblock3 rw rootfstype=jffs2\0"
 
+#define MTDIDS_DEFAULT	"nand0=orion_nand"
+
+#define MTDPARTS_DEFAULT	\
+	"mtdparts="CONFIG_MTDPARTS
+
 /*
  * Ethernet Driver configuration
  */
-- 
1.9.1



More information about the U-Boot mailing list