]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/linux/opensimpad/support-128mb-ram.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / linux / opensimpad / support-128mb-ram.patch
1
2 #
3 # Patch managed by http://www.holgerschurig.de/patcher.html
4 #
5
6 --- linux-2.4.27/arch/arm/mach-sa1100/simpad.c~support-128mb-ram
7 +++ linux-2.4.27/arch/arm/mach-sa1100/simpad.c
8 @@ -83,11 +83,16 @@
9  {
10  #ifdef CONFIG_SA1100_SIMPAD_SINUSPAD
11         SET_BANK( 0, 0xc0000000, 32*1024*1024 );
12 +       mi->nr_banks = 1;
13  #else
14         SET_BANK( 0, 0xc0000000, 64*1024*1024 );
15 -#endif
16         mi->nr_banks = 1;
17 +#endif
18  
19 +#ifdef CONFIG_SA1100_SIMPAD_128M
20 +       SET_BANK( 1, 0xc8000000, 64*1024*1024 );
21 +       mi->nr_banks = 2;
22 +#endif
23         setup_ramdisk( 1, 0, 0, 8192 );
24         setup_initrd( __phys_to_virt(0xc0800000), 4*1024*1024 );
25  }
26 --- linux-2.4.27/arch/arm/config.in~support-128mb-ram
27 +++ linux-2.4.27/arch/arm/config.in
28 @@ -130,6 +130,7 @@
29  dep_bool '  Simpad' CONFIG_SA1100_SIMPAD $CONFIG_ARCH_SA1100
30  if [ "$CONFIG_SA1100_SIMPAD" = "y" ]; then
31     bool '    T-Sinus PAD' CONFIG_SA1100_SIMPAD_SINUSPAD
32 +   bool '    Simpad with 128Mb RAM' CONFIG_SA1100_SIMPAD_128M
33  fi
34  dep_bool '  Simputer' CONFIG_SA1100_SIMPUTER $CONFIG_ARCH_SA1100
35  dep_bool '  Tulsa' CONFIG_SA1100_PFS168 $CONFIG_ARCH_SA1100