powerpc/BSC9131RDB: Add mtdparts suppport
PATCH 1/1 powerpc/BSC9131RDB: Add mtdparts suppport
* Use mtdparts to create partitions dynamically rather than using static partitions in device tree
--- include/configs/BSC9131RDB.h | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-)
V2: - Reduce uboot and dtb size in NAND
- Remove user partition from NAND and NAND
include/configs/BSC9131RDB.h +15 -0
@@ -393,6 +393,21 @@ extern unsigned long get_sdram_size(void);#endif /* +* Dynamic MTD Partition support with mtdparts +*/ +#ifndef CONFIG_SYS_NO_FLASH +#define CONFIG_MTD_DEVICE +#define CONFIG_MTD_PARTITIONS +#define CONFIG_CMD_MTDPARTS +#define CONFIG_FLASH_CFI_MTD +#define MTDIDS_DEFAULT "nand0=ff800000.flash," \ + "spi0=spiff707000.0" +#define MTDPARTS_DEFAULT "mtdparts=ff800000.flash:1m(uboot)," \ + "8m(kernel),512k(dtb),-(fs);spiff707000.0:" \ + "1m(uboot),4m(kernel),512k(dtb),11m(fs)" +#endif + +/* * Environment Configuration */
Signature · 1 line
1.7.6.GIT
PATCH 1/1 powerpc/BSC9132qds: Add mtdparts suppport
* Use mtdparts to create partitions dynamically rather than using static partitions in device tree
--- include/configs/BSC9132QDS.h | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-)
include/configs/BSC9132QDS.h +16 -0
@@ -630,6 +630,22 @@ combinations. this should be removed later#endif /* +* Dynamic MTD Partition support with mtdparts +*/ +#ifndef CONFIG_SYS_NO_FLASH +#define CONFIG_MTD_DEVICE +#define CONFIG_MTD_PARTITIONS +#define CONFIG_CMD_MTDPARTS +#define CONFIG_FLASH_CFI_MTD +#define MTDIDS_DEFAULT "nor0=88000000.nor,nand0=ff800000.flash," \ + "spi0=spiff707000.0" +#define MTDPARTS_DEFAULT "mtdparts=88000000.nor:256k(dtb),7m(kernel)," \ + "55m(fs),1m(uboot);ff800000.flash:1m(uboot)," \ + "8m(kernel),512k(dtb),-(fs);spiff707000.0:" \ + "1m(uboot),4m(kernel),512k(dtb),8m(fs)" +#endif + +/* * Environment Configuration */
Signature · 1 line
1.7.6.GIT
PATCH 1/1 powerpc/BSC9132qds: Add mtdparts suppport
Sorry, please ignore this patch.
Since version info is missing.
Regards
Ashish
-----Original Message-----
From: Ashish Kumar [mailto:Ashish.Kumar at freescale.com]
Sent: Monday, September 22, 2014 8:06 PM
To: u-boot at lists.denx.de
Cc: Wood Scott-B07421; Sun York-R58495; Kumar Ashish-B37399
Subject: [PATCH] powerpc/BSC9132qds: Add mtdparts suppport
* Use mtdparts to create partitions dynamically rather than using static partitions in device tree
--- include/configs/BSC9132QDS.h | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-)
include/configs/BSC9132QDS.h +13 -1
@@ -630,6 +630,22 @@ combinations. this should be removed later #endif/* +* Dynamic MTD Partition support with mtdparts */ #ifndef +CONFIG_SYS_NO_FLASH #define CONFIG_MTD_DEVICE #define +CONFIG_MTD_PARTITIONS #define CONFIG_CMD_MTDPARTS #define +CONFIG_FLASH_CFI_MTD #define MTDIDS_DEFAULT +"nor0=88000000.nor,nand0=ff800000.flash," \ + "spi0=spiff707000.0" +#define MTDPARTS_DEFAULT "mtdparts=88000000.nor:256k(dtb),7m(kernel)," \ + "55m(fs),1m(uboot);ff800000.flash:1m(uboot)," \ + "8m(kernel),512k(dtb),-(fs);spiff707000.0:" \ + "1m(uboot),4m(kernel),512k(dtb),8m(fs)" +#endif + +/* * Environment Configuration */ --
1.7.6.GIT
PATCH 1/1 powerpc/BSC9131RDB: Add mtdparts suppport
In reply to Ashish KumarSorry
Please ignore this patch, since version info is incorrect
Regards
Ashish
-----Original Message-----
From: Ashish Kumar [mailto:Ashish.Kumar at freescale.com]
Sent: Monday, September 22, 2014 8:06 PM
To: u-boot at lists.denx.de
Cc: Wood Scott-B07421; Sun York-R58495; Kumar Ashish-B37399
Subject: [PATCH] powerpc/BSC9131RDB: Add mtdparts suppport
* Use mtdparts to create partitions dynamically rather than using static partitions in device tree
--- include/configs/BSC9131RDB.h | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-)
V2: - Reduce uboot and dtb size in NAND
- Remove user partition from NAND and NAND
include/configs/BSC9131RDB.h +11 -1
@@ -393,6 +393,21 @@ extern unsigned long get_sdram_size(void); #endif/* +* Dynamic MTD Partition support with mtdparts */ #ifndef +CONFIG_SYS_NO_FLASH #define CONFIG_MTD_DEVICE #define +CONFIG_MTD_PARTITIONS #define CONFIG_CMD_MTDPARTS #define +CONFIG_FLASH_CFI_MTD #define MTDIDS_DEFAULT "nand0=ff800000.flash," \ + "spi0=spiff707000.0" +#define MTDPARTS_DEFAULT "mtdparts=ff800000.flash:1m(uboot)," \ + "8m(kernel),512k(dtb),-(fs);spiff707000.0:" \ + "1m(uboot),4m(kernel),512k(dtb),11m(fs)" +#endif + +/* * Environment Configuration */ --
1.7.6.GIT