Commit 56072047 authored by Mike Frysinger's avatar Mike Frysinger

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: default avatarMike Frysinger <vapier@gentoo.org>
parent 7db79172
...@@ -956,7 +956,15 @@ static struct mtd_partition ezkit_partitions[] = { ...@@ -956,7 +956,15 @@ static struct mtd_partition ezkit_partitions[] = {
.offset = MTDPART_OFS_APPEND, .offset = MTDPART_OFS_APPEND,
}, { }, {
.name = "file system(nor)", .name = "file system(nor)",
.size = MTDPART_SIZ_FULL, .size = 0x1000000 - 0x80000 - 0x400000 - 0x8000 * 4,
.offset = MTDPART_OFS_APPEND,
}, {
.name = "config(nor)",
.size = 0x8000 * 3,
.offset = MTDPART_OFS_APPEND,
}, {
.name = "u-boot env(nor)",
.size = 0x8000,
.offset = MTDPART_OFS_APPEND, .offset = MTDPART_OFS_APPEND,
} }
}; };
......
...@@ -247,7 +247,15 @@ static struct mtd_partition ezkit_partitions[] = { ...@@ -247,7 +247,15 @@ static struct mtd_partition ezkit_partitions[] = {
.offset = MTDPART_OFS_APPEND, .offset = MTDPART_OFS_APPEND,
}, { }, {
.name = "file system(nor)", .name = "file system(nor)",
.size = MTDPART_SIZ_FULL, .size = 0x800000 - 0x40000 - 0x1C0000 - 0x2000 * 8,
.offset = MTDPART_OFS_APPEND,
}, {
.name = "config(nor)",
.size = 0x2000 * 7,
.offset = MTDPART_OFS_APPEND,
}, {
.name = "u-boot env(nor)",
.size = 0x2000,
.offset = MTDPART_OFS_APPEND, .offset = MTDPART_OFS_APPEND,
} }
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment