aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-05-09 18:46:17 -0400
committerMike Frysinger <vapier@gentoo.org>2011-05-25 08:24:09 -0400
commit5607204755369bda4da57fe7df70ec11c2b593d9 (patch)
treec9f027d7459f69784a9ebc36c78912aa9b6e0a4c /arch/blackfin
parent7db79172908990c3ea540fcc6819330d273f9f1c (diff)
Blackfin: bf548-ezkit/bf561-ezkit: update nor flash layout
Both the BF548-EZKIT and the BF561-EZKIT use top boot flashes, so now that Das U-Boot uses the last small sector for its environment, update their nor layout in the kernel accordingly. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin')
-rw-r--r--arch/blackfin/mach-bf548/boards/ezkit.c10
-rw-r--r--arch/blackfin/mach-bf561/boards/ezkit.c10
2 files changed, 18 insertions, 2 deletions
diff --git a/arch/blackfin/mach-bf548/boards/ezkit.c b/arch/blackfin/mach-bf548/boards/ezkit.c
index 93e19a54a88..0f44becafaa 100644
--- a/arch/blackfin/mach-bf548/boards/ezkit.c
+++ b/arch/blackfin/mach-bf548/boards/ezkit.c
@@ -956,7 +956,15 @@ static struct mtd_partition ezkit_partitions[] = {
956 .offset = MTDPART_OFS_APPEND, 956 .offset = MTDPART_OFS_APPEND,
957 }, { 957 }, {
958 .name = "file system(nor)", 958 .name = "file system(nor)",
959 .size = MTDPART_SIZ_FULL, 959 .size = 0x1000000 - 0x80000 - 0x400000 - 0x8000 * 4,
960 .offset = MTDPART_OFS_APPEND,
961 }, {
962 .name = "config(nor)",
963 .size = 0x8000 * 3,
964 .offset = MTDPART_OFS_APPEND,
965 }, {
966 .name = "u-boot env(nor)",
967 .size = 0x8000,
960 .offset = MTDPART_OFS_APPEND, 968 .offset = MTDPART_OFS_APPEND,
961 } 969 }
962}; 970};
diff --git a/arch/blackfin/mach-bf561/boards/ezkit.c b/arch/blackfin/mach-bf561/boards/ezkit.c
index f667e770419..5067984a62e 100644
--- a/arch/blackfin/mach-bf561/boards/ezkit.c
+++ b/arch/blackfin/mach-bf561/boards/ezkit.c
@@ -247,7 +247,15 @@ static struct mtd_partition ezkit_partitions[] = {
247 .offset = MTDPART_OFS_APPEND, 247 .offset = MTDPART_OFS_APPEND,
248 }, { 248 }, {
249 .name = "file system(nor)", 249 .name = "file system(nor)",
250 .size = MTDPART_SIZ_FULL, 250 .size = 0x800000 - 0x40000 - 0x1C0000 - 0x2000 * 8,
251 .offset = MTDPART_OFS_APPEND,
252 }, {
253 .name = "config(nor)",
254 .size = 0x2000 * 7,
255 .offset = MTDPART_OFS_APPEND,
256 }, {
257 .name = "u-boot env(nor)",
258 .size = 0x2000,
251 .offset = MTDPART_OFS_APPEND, 259 .offset = MTDPART_OFS_APPEND,
252 } 260 }
253}; 261};