linux/arch/powerpc/platforms/embedded6xx
Albert Herranz de32400dd2 wii: use both mem1 and mem2 as ram
The Nintendo Wii video game console has two discontiguous RAM regions:
- MEM1: 24MB @ 0x00000000
- MEM2: 64MB @ 0x10000000

Unfortunately, the kernel currently does not support discontiguous RAM
memory regions on 32-bit PowerPC platforms.

This patch adds a series of workarounds to allow the use of the second
memory region (MEM2) as RAM by the kernel.
Basically, a single range of memory from the beginning of MEM1 to the
end of MEM2 is reported to the kernel, and a memory reservation is
created for the hole between MEM1 and MEM2.

With this patch the system is able to use all the available RAM and not
just ~27% of it.

This will no longer be needed when proper discontig memory support
for 32-bit PowerPC is added to the kernel.

Signed-off-by: Albert Herranz <albert_herranz@yahoo.es>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2009-12-12 22:24:31 -07:00
..
c2k.c powerpc: Remove default kexec/crash_kernel ops assignments 2008-12-23 15:13:28 +11:00
flipper-pic.c powerpc: gamecube/wii: flipper interrupt controller support 2009-12-12 22:24:28 -07:00
flipper-pic.h powerpc: gamecube/wii: flipper interrupt controller support 2009-12-12 22:24:28 -07:00
gamecube.c powerpc: gamecube: platform support 2009-12-12 22:24:28 -07:00
hlwd-pic.c powerpc: wii: hollywood interrupt controller support 2009-12-12 22:24:30 -07:00
hlwd-pic.h powerpc: wii: hollywood interrupt controller support 2009-12-12 22:24:30 -07:00
holly.c [POWERPC] holly.c: Remove unnecessary include of linux/ide.h 2007-12-20 16:17:51 +11:00
Kconfig powerpc: wii: platform support 2009-12-12 22:24:30 -07:00
linkstation.c powerpc: fix linkstation and storcenter compilation breakage 2009-03-09 11:10:58 -05:00
ls_uart.c [POWERPC] 82xx and embedded6xx: Use machine_*_initcall() hooks in platform code 2008-01-28 08:30:41 -06:00
Makefile powerpc: wii: platform support 2009-12-12 22:24:30 -07:00
mpc10x.h [POWERPC] Copy over headers from arch/ppc to arch/powerpc that we need 2007-08-22 22:43:29 -05:00
mpc7448_hpc2.c powerpc: Drop redundant machine type print in show_cpuinfo 2008-09-29 09:23:06 -05:00
prpmc2800.c powerpc: Remove default kexec/crash_kernel ops assignments 2008-12-23 15:13:28 +11:00
storcenter.c powerpc: fix linkstation and storcenter compilation breakage 2009-03-09 11:10:58 -05:00
usbgecko_udbg.c powerpc: gamecube/wii: early debugging using usbgecko 2009-12-12 22:24:31 -07:00
usbgecko_udbg.h powerpc: gamecube/wii: early debugging using usbgecko 2009-12-12 22:24:31 -07:00
wii.c wii: use both mem1 and mem2 as ram 2009-12-12 22:24:31 -07:00