summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2012-08-28 15:12:48 +0000
committerStefano Babic <sbabic@denx.de>2012-09-04 11:57:56 +0200
commitc16ecb09088f303cb36fd3c55108857cdf934b98 (patch)
tree19af4ab2ccc8e4ce0f6b86e27582d435f480b006 /include
parentddfcc810d3947a085fb85cefcb6cb04c723eadf9 (diff)
downloadblackbird-obmc-uboot-c16ecb09088f303cb36fd3c55108857cdf934b98.tar.gz
blackbird-obmc-uboot-c16ecb09088f303cb36fd3c55108857cdf934b98.zip
M28: Fix the use of gpmi-nand in mtdparts
The mtd name of the NAND in Linux is "gpmi-nand", not "gpmi-nand.0" as it would be expected, since the controller doesn't support multiple NANDs attached to it as of now. Rectify this flub by adjusting default mtdparts. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Fabio Estevam <fabio.estevam@freescale.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Otavio Salvador <otavio@ossystems.com.br> Acked-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'include')
-rw-r--r--include/configs/m28evk.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/m28evk.h b/include/configs/m28evk.h
index d0f2b481d5..9eb2a547fc 100644
--- a/include/configs/m28evk.h
+++ b/include/configs/m28evk.h
@@ -171,9 +171,9 @@
#define CONFIG_LZO
#define CONFIG_MTD_DEVICE
#define CONFIG_MTD_PARTITIONS
-#define MTDIDS_DEFAULT "nand0=gpmi-nand.0"
+#define MTDIDS_DEFAULT "nand0=gpmi-nand"
#define MTDPARTS_DEFAULT \
- "mtdparts=gpmi-nand.0:" \
+ "mtdparts=gpmi-nand:" \
"3m(bootloader)ro," \
"512k(environment)," \
"512k(redundant-environment)," \
OpenPOWER on IntegriCloud