MIPS: JZ4740: only detect RAM size if not specified in DT
authorPaul Burton <paul.burton@imgtec.com>
Sun, 24 May 2015 15:11:42 +0000 (16:11 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Sun, 21 Jun 2015 19:53:22 +0000 (21:53 +0200)
commit6ec127fb3c7754d3dc6614e9744386fbe652927f
treea8b9195f3351f800cba73611e2b7da148f8d490d
parent1237496af309bc0551949418fb06f63d3b1f45b5
MIPS: JZ4740: only detect RAM size if not specified in DT

Allow a devicetree to specify the memory present in the system rather
than probing it from the memory controller. This both saves the probing
for systems where the amount of memory is fixed, and will simplify the
bringup of later Ingenic SoCs where the memory controller register
layout differs.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/10163/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Kconfig
arch/mips/jz4740/Makefile
arch/mips/jz4740/setup.c