From: Marek Vasut Date: Tue, 28 Aug 2012 15:12:48 +0000 (+0000) Subject: M28: Fix the use of gpmi-nand in mtdparts X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=c16ecb09088f303cb36fd3c55108857cdf934b98;p=u-boot.git 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 Cc: Fabio Estevam Cc: Stefano Babic Cc: Otavio Salvador Acked-by: Stefano Babic --- 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)," \