aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/mti-sead3/Makefile
diff options
context:
space:
mode:
authorQais Yousef <qais.yousef@imgtec.com>2013-12-06 11:00:42 +0000
committerRalf Baechle <ralf@linux-mips.org>2014-01-23 13:02:36 +0100
commit44327236c3bfb83e3b4ce36e2a0d61569bb19330 (patch)
tree76e87d019bfd1670671fed35f385b7a47a5a836d /arch/mips/mti-sead3/Makefile
parente95acd3d0d3a7bac9bca50c51a1d86777b6334eb (diff)
MIPS: sead3: allow cmdline/env to change memory size using memsize param
if the user sets memsize parameter in commandline or bootloader environment, we use it to modify the built-in dtb memory size Signed-off-by: Qais Yousef <qais.yousef@imgtec.com> Reviewed-by: Paul Burton <paul.burton@imgtec.com> Reviewed-by: James Hogan <james.hogan@imgtec.com> Signed-off-by: John Crispin <blogic@openwrt.org> Patchwork: http://patchwork.linux-mips.org/patch/6207/
Diffstat (limited to 'arch/mips/mti-sead3/Makefile')
-rw-r--r--arch/mips/mti-sead3/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/mti-sead3/Makefile b/arch/mips/mti-sead3/Makefile
index be114209217c..071786fa234b 100644
--- a/arch/mips/mti-sead3/Makefile
+++ b/arch/mips/mti-sead3/Makefile
@@ -21,5 +21,7 @@ obj-$(CONFIG_EARLY_PRINTK) += sead3-console.o
obj-$(CONFIG_USB_EHCI_HCD) += sead3-ehci.o
obj-$(CONFIG_OF) += sead3.dtb.o
+CFLAGS_sead3-setup.o = -I$(src)/../../../scripts/dtc/libfdt
+
$(obj)/%.dtb: $(obj)/%.dts
$(call if_changed,dtc)