Commit 0d88dcf5 authored by Christopher Hoover's avatar Christopher Hoover Committed by Russell King

[ARM PATCH] 1493/1: [BADGE4] Allow larger flash parts and partition for kernel in jffs2

Patch from Christopher Hoover

This patch allows for larger flash parts (and keeps the kernel from
crashing on these) and changes the partitioning on BadgePAD 4.
parent f2d2e565
...@@ -174,9 +174,15 @@ static struct mtd_partition assabet5_partitions[] = { ...@@ -174,9 +174,15 @@ static struct mtd_partition assabet5_partitions[] = {
#ifdef CONFIG_SA1100_BADGE4 #ifdef CONFIG_SA1100_BADGE4
/* /*
* 1 x Intel 28F320C3BA100 Advanced+ Boot Block Flash (32 Mi bit) * 1 x Intel 28F320C3 Advanced+ Boot Block Flash (32 Mi bit)
* Eight 4 KiW Parameter Bottom Blocks (64 KiB) * Eight 4 KiW Parameter Bottom Blocks (64 KiB)
* Sixty-three 32 KiW Main Blocks (4032 Ki b) * Sixty-three 32 KiW Main Blocks (4032 Ki b)
*
* <or>
*
* 1 x Intel 28F640C3 Advanced+ Boot Block Flash (64 Mi bit)
* Eight 4 KiW Parameter Bottom Blocks (64 KiB)
* One-hundred-twenty-seven 32 KiW Main Blocks (8128 Ki b)
*/ */
static struct mtd_partition badge4_partitions[] = { static struct mtd_partition badge4_partitions[] = {
{ {
...@@ -187,10 +193,6 @@ static struct mtd_partition badge4_partitions[] = { ...@@ -187,10 +193,6 @@ static struct mtd_partition badge4_partitions[] = {
.name = "params", .name = "params",
.offset = MTDPART_OFS_APPEND, .offset = MTDPART_OFS_APPEND,
.size = 0x00006000 .size = 0x00006000
}, {
.name = "kernel",
.offset = MTDPART_OFS_APPEND,
.size = 0x00100000
}, { }, {
.name = "root", .name = "root",
.offset = MTDPART_OFS_APPEND, .offset = MTDPART_OFS_APPEND,
...@@ -1119,7 +1121,7 @@ static int __init sa1100_locate_flash(void) ...@@ -1119,7 +1121,7 @@ static int __init sa1100_locate_flash(void)
} }
if (machine_is_badge4()) { if (machine_is_badge4()) {
info[0].base = SA1100_CS0_PHYS; info[0].base = SA1100_CS0_PHYS;
info[0].size = SZ_4M; info[0].size = SZ_64M;
nr = 1; nr = 1;
} }
if (machine_is_cerf()) { if (machine_is_cerf()) {
......
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