[U-Boot-Users] [PATCH] TQM5200: Correct the MTD partition layout for the TQM5200 board

Martin Krause martin.krause at tqs.de
Tue Oct 23 14:48:00 CEST 2007


This patch corrects the recently updated MTD partition layout for 
the TQM5200 board.

The current MTD layout only works on boards with 32 MiB flash memory.
On boards with smaller Flashes (16 MiB, 8 MiB and 4 MiB) the MTD
partition borders do not match with the physikal memory borders.

With the new MTD layout all flash memory variants from 4 MiB up to 32 MiB
are supported.

Signed-off-by: Martin Krause <martin.krause at tqs.de>
---

 include/configs/TQM5200.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/configs/TQM5200.h b/include/configs/TQM5200.h
index 8ad164b..6ee926b 100644
--- a/include/configs/TQM5200.h
+++ b/include/configs/TQM5200.h
@@ -419,11 +419,11 @@
 # else	/* !CONFIG_TQM5200_B */
 #   define MTDPARTS_DEFAULT	"mtdparts=TQM5200-0:640k(firmware),"	\
 						"128k(dtb),"		\
-						"2304k(kernel),"	\
-						"2m(initrd),"		\
+						"1536k(kernel),"	\
+						"1792k(initrd),"	\
 						"4m(small-fs),"		\
 						"8m(misc),"		\
-						"15m(big-fs)"
+						"16m(big-fs)"
 # endif /* CONFIG_TQM5200_B */
 #elif defined (CONFIG_CAM5200)
 #   define MTDPARTS_DEFAULT	"mtdparts=TQM5200-0:768k(firmware),"	\





More information about the U-Boot mailing list