kernel_optimize_test/arch/mips/generic
Paul Burton f41d2430bb MIPS: generic/yamon-dt: Support > 256MB of RAM
YAMON can expose more than 256MB of RAM to Linux on Malta by passing an
ememsize environment variable with the full size, but the kernel then
needs to be careful to choose the corresponding physical memory regions,
avoiding the IO memory window. This is platform dependent, and on Malta
it also depends on the memory layout which varies between system
controllers.

Extend yamon_dt_amend_memory() to generically handle this by taking
[e]memsize bytes of memory from an array of memory regions passed in as
a new parameter. Board code provides this array as appropriate depending
on its own memory map.

[paul.burton@imgtec.com: SEAD-3 supports 384MB DDR from 0]

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/16182/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2017-06-28 12:22:41 +02:00
..
board-sead3.c MIPS: generic/yamon-dt: Support > 256MB of RAM 2017-06-28 12:22:41 +02:00
init.c MIPS: platform: Allow for DTB to be moved during kernel relocation 2017-01-03 16:34:45 +01:00
irq.c MIPS: generic: Introduce generic DT-based board support 2016-10-06 18:04:04 +02:00
Kconfig MIPS: generic/yamon-dt: Pull YAMON DT shim code out of SEAD-3 board 2017-06-28 12:22:40 +02:00
kexec.c MIPS: generic/kexec: add support for a DTB passed in a separate buffer 2017-01-03 16:34:46 +01:00
Makefile MIPS: generic/yamon-dt: Pull YAMON DT shim code out of SEAD-3 board 2017-06-28 12:22:40 +02:00
Platform MIPS: generic: Introduce generic DT-based board support 2016-10-06 18:04:04 +02:00
proc.c MIPS: generic: Introduce generic DT-based board support 2016-10-06 18:04:04 +02:00
vmlinux.its.S MIPS: generic: Introduce generic DT-based board support 2016-10-06 18:04:04 +02:00
yamon-dt.c MIPS: generic/yamon-dt: Support > 256MB of RAM 2017-06-28 12:22:41 +02:00