]> 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)
commit51ae805af97a78b33aadb4ad631e186c1b5cf40f
treeaaa40d60aef5a4c23c37a69560f398768afb0fa7
parentbc18c581a0dfaf40911eb614892afb20c4a0fe00
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