]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: JZ4740: setup: Autodetect physical memory.
authorMaarten ter Huurne <maarten@treewalker.org>
Mon, 2 May 2011 09:47:00 +0000 (11:47 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 19 May 2011 08:55:48 +0000 (09:55 +0100)
commitb0dc93976afbd3c4ce920f2a842b4ce1319a1dd0
treeaaa40d60aef5a4c23c37a69560f398768afb0fa7
parente4a280333649ddef85bcfb39368087079cae6eb8
MIPS: JZ4740: setup: Autodetect physical memory.

Assume that the boot loader knows the physical memory of the system and
deduce that information from the contents of the SDRAM control register.
It is still possible to override with with the "mem=" parameter, but we
have a sensible default now.

Signed-off-by: Maarten ter Huurne <maarten@treewalker.org>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Cc: linux-kernel@vger.kernel.org
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2319/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/jz4740/setup.c