]> git.sur5r.net Git - u-boot/commitdiff
NetStar: make mtdparts default ready for recent kernels
authorLadislav Michl <Ladislav.Michl@seznam.cz>
Mon, 8 Feb 2010 19:19:06 +0000 (14:19 -0500)
committerTom Rix <Tom.Rix@windriver.com>
Sun, 7 Mar 2010 18:36:34 +0000 (12:36 -0600)
Recent kernels are using generic NAND and NOR drivers. Change
default mtdparts to reflect it.

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
include/configs/netstar.h

index df9402a85be8a6e32dcfe5e3f668d939e19c0771..edda3ce56e6eee74c8a00172e2da1ea8e23b36a4 100644 (file)
 #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@16k(env),8k(r_env),448k@576k(u-boot);" \
-       "omapnand.0:4M(kernel0),40M(rootfs0),4M(kernel1),40M(rootfs1),-(data)"
-
+       "physmap-flash.0:8k@16k(env),8k(r_env),448k@576k(u-boot);" \
+       "gen_nand.0:4M(kernel0),40M(rootfs0),4M(kernel1),40M(rootfs1),-(data)"
 
 /*
  * Command line configuration.