[U-Boot] [PATCH 5/5] NetStar: make mtdparts default ready for recent kernels

Ladislav Michl Ladislav.Michl at seznam.cz
Thu Jan 28 00:22:55 CET 2010


From: Ladislav Michl <ladis at linux-mips.org>

Recent kernels are using generic NAND and NOR drivers. Change
default mtdparts to reflect it.

Signed-off-by: Ladislav Michl <ladis at linux-mips.org>
---
 include/configs/netstar.h |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/include/configs/netstar.h b/include/configs/netstar.h
index d4465d6..a7834fc 100644
--- a/include/configs/netstar.h
+++ b/include/configs/netstar.h
@@ -133,11 +133,10 @@
 #define CONFIG_CMD_MTDPARTS
 #define CONFIG_MTD_DEVICE		/* needed for mtdparts commands */
 #define CONFIG_FLASH_CFI_MTD
-#define MTDIDS_DEFAULT		"nor0=omapflash.0,nand0=omapnand.0"
+#define MTDIDS_DEFAULT		"nor0=physmap-flash.0,nand0=gen_nand.0"
 #define MTDPARTS_DEFAULT	"mtdparts=" \
-	"omapflash.0:8k at 16k(env),8k(r_env),448k at 576k(u-boot);" \
-	"omapnand.0:4M(kernel0),40M(rootfs0),4M(kernel1),40M(rootfs1),-(data)"
-
+	"physmap-flash.0:8k at 16k(env),8k(r_env),448k at 576k(u-boot);" \
+	"gen_nand.0:4M(kernel0),40M(rootfs0),4M(kernel1),40M(rootfs1),-(data)"
 
 /*
  * Command line configuration.
-- 
1.5.3.8



More information about the U-Boot mailing list