diff options
Diffstat (limited to 'packages/linux/opensimpad-2.4.25-vrs2-pxa1-jpm1/support-128mb-flash.patch')
-rw-r--r-- | packages/linux/opensimpad-2.4.25-vrs2-pxa1-jpm1/support-128mb-flash.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/packages/linux/opensimpad-2.4.25-vrs2-pxa1-jpm1/support-128mb-flash.patch b/packages/linux/opensimpad-2.4.25-vrs2-pxa1-jpm1/support-128mb-flash.patch index e69de29bb2..d5647d6299 100644 --- a/packages/linux/opensimpad-2.4.25-vrs2-pxa1-jpm1/support-128mb-flash.patch +++ b/packages/linux/opensimpad-2.4.25-vrs2-pxa1-jpm1/support-128mb-flash.patch @@ -0,0 +1,25 @@ + +# +# Patch managed by http://www.holgerschurig.de/patcher.html +# + +--- linux-2.4.25/arch/arm/mach-sa1100/simpad.c~support-128mb-flash ++++ linux-2.4.25/arch/arm/mach-sa1100/simpad.c +@@ -83,11 +83,16 @@ + { + #ifdef CONFIG_SA1100_SIMPAD_SINUSPAD + SET_BANK( 0, 0xc0000000, 32*1024*1024 ); ++ mi->nr_banks = 1; + #else + SET_BANK( 0, 0xc0000000, 64*1024*1024 ); +-#endif + mi->nr_banks = 1; ++#endif + ++#ifdef CONFIG_SA1100_SIMPAD_128M ++ SET_BANK( 1, 0xc8000000, 64*1024*1024 ); ++ mi->nr_banks = 2; ++#endif + setup_ramdisk( 1, 0, 0, 8192 ); + setup_initrd( __phys_to_virt(0xc0800000), 4*1024*1024 ); + } |