]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
arm64: dts: T132: enable reuse of T124 dtsi files
authorDaniel Fu <danifu@nvidia.com>
Thu, 19 Dec 2013 09:55:01 +0000 (17:55 +0800)
committerTom Cherry <tcherry@nvidia.com>
Wed, 22 Jan 2014 04:27:43 +0000 (20:27 -0800)
T132 shares most of the SoC components of T124.
To enable inclusion of T124 dtsi files from T132 dts files,
specify "arch/arm/boot/dts" as an include path for arm64 dts files.

Change-Id: If7426acae664022a53dc507473b35be617a62526
Signed-off-by: Daniel Fu <danifu@nvidia.com>
Reviewed-on: http://git-master/r/347472
Reviewed-by: Hayden Du <haydend@nvidia.com>
Tested-by: Hayden Du <haydend@nvidia.com>
Reviewed-by: Johnny Qiu <joqiu@nvidia.com>
arch/arm64/boot/dts/Makefile
scripts/Makefile.lib

index 681314cb2083366f4c1e4fbf98271e5b7ee2a1f5..1bd258f0737f9f2292439337e90c4f14633bded0 100644 (file)
@@ -8,6 +8,8 @@ targets += $(dtb-y)
 
 DTC_FLAGS := -i $(srctree)/arch/arm/boot/dts
 
+DTCCPP_FLAGS := -I$(srctree)/arch/arm/boot/dts
+
 dtbs: $(addprefix $(obj)/, $(dtb-y))
 
 clean-files := *.dtb
index bd161eff6921ff4b0ddfa92645d57a72ee3fd59b..a92a23ceb4c539f0083a5b1bd5d6756fc3010369 100644 (file)
@@ -152,6 +152,7 @@ ld_flags       = $(LDFLAGS) $(ldflags-y)
 dtc_cpp_flags  = -Wp,-MD,$(depfile).pre.tmp -nostdinc                    \
                 -I$(srctree)/arch/$(SRCARCH)/boot/dts                   \
                 -I$(srctree)/arch/$(SRCARCH)/boot/dts/include           \
+                $(DTCCPP_FLAGS)                                         \
                 -undef -D__DTS__
 
 # Finds the multi-part object the current object will be linked into