* [U-Boot] [PATCH] powerpc/T208xQDS: add mtdparts suppport
@ 2013-12-25 6:50 Shengzhou Liu
2013-12-30 8:17 ` Shengzhou.Liu at freescale.com
0 siblings, 1 reply; 3+ messages in thread
From: Shengzhou Liu @ 2013-12-25 6:50 UTC (permalink / raw)
To: u-boot
We use dynamical mtdparts partition instead of directly puting
mtd partitions nodes in device tree.
Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com>
---
include/configs/T2080QDS.h | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/include/configs/T2080QDS.h b/include/configs/T2080QDS.h
index bff001f..ccb3c08 100644
--- a/include/configs/T2080QDS.h
+++ b/include/configs/T2080QDS.h
@@ -637,6 +637,19 @@ unsigned long get_board_ddr_clk(void);
#define CONFIG_DOS_PARTITION
#endif
+
+/*
+ * Dynamic MTD Partition support with mtdparts
+ */
+#define CONFIG_MTD_DEVICE
+#define CONFIG_MTD_PARTITIONS
+#define CONFIG_CMD_MTDPARTS
+#define CONFIG_FLASH_CFI_MTD
+#define MTDIDS_DEFAULT "nor0=fe8000000.nor,nand0=ff800000.flash"
+#define MTDPARTS_DEFAULT "mtdparts=fe8000000.nor:1m(boot),5m(linux),96m(fs)," \
+ "128k(dtb),-(user);ff800000.flash:1m(boot)," \
+ "5m(linux),96m(fs),128k(dtb),-(user);"
+
/*
* Environment
*/
--
1.8.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] powerpc/T208xQDS: add mtdparts suppport
2013-12-25 6:50 [U-Boot] [PATCH] powerpc/T208xQDS: add mtdparts suppport Shengzhou Liu
@ 2013-12-30 8:17 ` Shengzhou.Liu at freescale.com
2014-01-29 21:58 ` York Sun
0 siblings, 1 reply; 3+ messages in thread
From: Shengzhou.Liu at freescale.com @ 2013-12-30 8:17 UTC (permalink / raw)
To: u-boot
> -----Original Message-----
> From: Shengzhou Liu [mailto:Shengzhou.Liu at freescale.com]
> Sent: Wednesday, December 25, 2013 2:50 PM
> To: u-boot at lists.denx.de; Sun York-R58495
> Cc: Liu Shengzhou-B36685
> Subject: [PATCH] powerpc/T208xQDS: add mtdparts suppport
>
> We use dynamical mtdparts partition instead of directly puting mtd
> partitions nodes in device tree.
>
> Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com>
>
Please hold on the patch due to compiling issue until we finish the transition from size 512KB to 768KB.
-Shengzhou
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] powerpc/T208xQDS: add mtdparts suppport
2013-12-30 8:17 ` Shengzhou.Liu at freescale.com
@ 2014-01-29 21:58 ` York Sun
0 siblings, 0 replies; 3+ messages in thread
From: York Sun @ 2014-01-29 21:58 UTC (permalink / raw)
To: u-boot
On 12/30/2013 12:17 AM, Liu Shengzhou-B36685 wrote:
>
>> -----Original Message-----
>> From: Shengzhou Liu [mailto:Shengzhou.Liu at freescale.com]
>> Sent: Wednesday, December 25, 2013 2:50 PM
>> To: u-boot at lists.denx.de; Sun York-R58495
>> Cc: Liu Shengzhou-B36685
>> Subject: [PATCH] powerpc/T208xQDS: add mtdparts suppport
>>
>> We use dynamical mtdparts partition instead of directly puting mtd
>> partitions nodes in device tree.
>>
>> Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com>
>>
>
> Please hold on the patch due to compiling issue until we finish the transition from size 512KB to 768KB.
>
Shengzhou,
Do you want to update this patch now?
York
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-01-29 21:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-25 6:50 [U-Boot] [PATCH] powerpc/T208xQDS: add mtdparts suppport Shengzhou Liu
2013-12-30 8:17 ` Shengzhou.Liu at freescale.com
2014-01-29 21:58 ` York Sun
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox