]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dts: move device tree sources to arch/$(ARCH)/dts/
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Wed, 5 Feb 2014 02:28:26 +0000 (11:28 +0900)
committerTom Rini <trini@ti.com>
Wed, 19 Feb 2014 16:10:05 +0000 (11:10 -0500)
Unlike Linux Kernel, U-Boot historically had *.dts files under
board/$(VENDOR)/dts/ and *.dtsi files under arch/$(ARCH)/dts/.

I think arch/$(ARCH)/dts dicretory is a better location
to store both *.dts and *.dtsi files.

For example, before this commit, board/xilinx/dts directory
had both Microblaze dts (microblaze-generic.dts) and
ARM dts (zynq-*.dts), which are totally unrelated.

This commit moves *.dts to arch/$(ARCH)/dts/ directories,
allowing us to describe nicely mutiple DTBs generation in the next commit.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
32 files changed:
arch/arm/dts/exynos5250-arndale.dts [moved from board/samsung/dts/exynos5250-arndale.dts with 100% similarity]
arch/arm/dts/exynos5250-smdk5250.dts [moved from board/samsung/dts/exynos5250-smdk5250.dts with 100% similarity]
arch/arm/dts/exynos5250-snow.dts [moved from board/samsung/dts/exynos5250-snow.dts with 100% similarity]
arch/arm/dts/exynos5420-smdk5420.dts [moved from board/samsung/dts/exynos5420-smdk5420.dts with 100% similarity]
arch/arm/dts/tegra114-dalmore.dts [moved from board/nvidia/dts/tegra114-dalmore.dts with 100% similarity]
arch/arm/dts/tegra20-colibri_t20_iris.dts [moved from board/toradex/dts/tegra20-colibri_t20_iris.dts with 100% similarity]
arch/arm/dts/tegra20-harmony.dts [moved from board/nvidia/dts/tegra20-harmony.dts with 100% similarity]
arch/arm/dts/tegra20-medcom-wide.dts [moved from board/avionic-design/dts/tegra20-medcom-wide.dts with 100% similarity]
arch/arm/dts/tegra20-paz00.dts [moved from board/compal/dts/tegra20-paz00.dts with 100% similarity]
arch/arm/dts/tegra20-plutux.dts [moved from board/avionic-design/dts/tegra20-plutux.dts with 100% similarity]
arch/arm/dts/tegra20-seaboard.dts [moved from board/nvidia/dts/tegra20-seaboard.dts with 100% similarity]
arch/arm/dts/tegra20-tamonten.dtsi [moved from board/avionic-design/dts/tegra20-tamonten.dtsi with 100% similarity]
arch/arm/dts/tegra20-tec.dts [moved from board/avionic-design/dts/tegra20-tec.dts with 100% similarity]
arch/arm/dts/tegra20-trimslice.dts [moved from board/compulab/dts/tegra20-trimslice.dts with 100% similarity]
arch/arm/dts/tegra20-ventana.dts [moved from board/nvidia/dts/tegra20-ventana.dts with 100% similarity]
arch/arm/dts/tegra20-whistler.dts [moved from board/nvidia/dts/tegra20-whistler.dts with 100% similarity]
arch/arm/dts/tegra30-beaver.dts [moved from board/nvidia/dts/tegra30-beaver.dts with 100% similarity]
arch/arm/dts/tegra30-cardhu.dts [moved from board/nvidia/dts/tegra30-cardhu.dts with 100% similarity]
arch/arm/dts/tegra30-tamonten.dtsi [moved from board/avionic-design/dts/tegra30-tamonten.dtsi with 100% similarity]
arch/arm/dts/tegra30-tec-ng.dts [moved from board/avionic-design/dts/tegra30-tec-ng.dts with 100% similarity]
arch/arm/dts/zynq-microzed.dts [moved from board/xilinx/dts/zynq-microzed.dts with 100% similarity]
arch/arm/dts/zynq-zc702.dts [moved from board/xilinx/dts/zynq-zc702.dts with 100% similarity]
arch/arm/dts/zynq-zc706.dts [moved from board/xilinx/dts/zynq-zc706.dts with 100% similarity]
arch/arm/dts/zynq-zc770-xm010.dts [moved from board/xilinx/dts/zynq-zc770-xm010.dts with 100% similarity]
arch/arm/dts/zynq-zc770-xm012.dts [moved from board/xilinx/dts/zynq-zc770-xm012.dts with 100% similarity]
arch/arm/dts/zynq-zc770-xm013.dts [moved from board/xilinx/dts/zynq-zc770-xm013.dts with 100% similarity]
arch/arm/dts/zynq-zed.dts [moved from board/xilinx/dts/zynq-zed.dts with 100% similarity]
arch/microblaze/dts/microblaze-generic.dts [moved from board/xilinx/dts/microblaze-generic.dts with 100% similarity]
arch/x86/dts/alex.dts [moved from board/chromebook-x86/dts/alex.dts with 100% similarity]
arch/x86/dts/link.dts [moved from board/chromebook-x86/dts/link.dts with 100% similarity]
dts/Makefile
scripts/Makefile.lib

index c47fba787ccb593f11260b33d4c77b7bb135148c..5d2abd9f5c359f95a669e9db5e76cebe3fe745ac 100644 (file)
@@ -12,9 +12,9 @@ ifeq ($(DEVICE_TREE),)
 DEVICE_TREE := notfound
 endif
 
-DTS := $(srctree)/board/$(VENDOR)/dts/$(DEVICE_TREE).dts
+DTS := $(srctree)/arch/$(ARCH)/dts/$(DEVICE_TREE).dts
 
-DTC_FLAGS += -i $(srctree)/arch/$(ARCH)/dts -R 4 -p 0x1000
+DTC_FLAGS += -R 4 -p 0x1000
 
 $(obj)/dt.dtb: $(DTS) FORCE
        $(call if_changed_dep,dtc)
index ee3ceac7d13d9c444bc9ffc98dbbb75d23b86f94..02b17b105791d4d1817260cfac292a4bbbffca44 100644 (file)
@@ -153,7 +153,6 @@ ld_flags       = $(LDFLAGS) $(ldflags-y)
 
 # Modified for U-Boot
 dtc_cpp_flags  = -Wp,-MD,$(depfile).pre.tmp -nostdinc                    \
-                -I$(srctree)/board/$(VENDOR)/dts/                       \
                 -I$(srctree)/arch/$(ARCH)/dts                           \
                 -undef -D__DTS__