diff options
author | Paul Burton <paul.burton@imgtec.com> | 2015-05-24 17:11:42 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2015-06-21 21:53:22 +0200 |
commit | 6ec127fb3c7754d3dc6614e9744386fbe652927f (patch) | |
tree | a8b9195f3351f800cba73611e2b7da148f8d490d /arch/mips/jz4740/Makefile | |
parent | MIPS: JZ4740: remove clock.h (diff) | |
download | linux-6ec127fb3c7754d3dc6614e9744386fbe652927f.tar.xz linux-6ec127fb3c7754d3dc6614e9744386fbe652927f.zip |
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>
Diffstat (limited to 'arch/mips/jz4740/Makefile')
-rw-r--r-- | arch/mips/jz4740/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/jz4740/Makefile b/arch/mips/jz4740/Makefile index 7636432af6ee..70a9578cc6db 100644 --- a/arch/mips/jz4740/Makefile +++ b/arch/mips/jz4740/Makefile @@ -7,6 +7,8 @@ obj-y += prom.o time.o reset.o setup.o \ gpio.o platform.o timer.o serial.o +CFLAGS_setup.o = -I$(src)/../../../scripts/dtc/libfdt + # board specific support obj-$(CONFIG_JZ4740_QI_LB60) += board-qi_lb60.o |