dts: move device tree sources to arch/$(ARCH)/dts/

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>
master
Masahiro Yamada 11 years ago committed by Tom Rini
parent 6ab6b2afa0
commit 5ab502cb89
  1. 0
      arch/arm/dts/exynos5250-arndale.dts
  2. 0
      arch/arm/dts/exynos5250-smdk5250.dts
  3. 0
      arch/arm/dts/exynos5250-snow.dts
  4. 0
      arch/arm/dts/exynos5420-smdk5420.dts
  5. 0
      arch/arm/dts/tegra114-dalmore.dts
  6. 0
      arch/arm/dts/tegra20-colibri_t20_iris.dts
  7. 0
      arch/arm/dts/tegra20-harmony.dts
  8. 0
      arch/arm/dts/tegra20-medcom-wide.dts
  9. 0
      arch/arm/dts/tegra20-paz00.dts
  10. 0
      arch/arm/dts/tegra20-plutux.dts
  11. 0
      arch/arm/dts/tegra20-seaboard.dts
  12. 0
      arch/arm/dts/tegra20-tamonten.dtsi
  13. 0
      arch/arm/dts/tegra20-tec.dts
  14. 0
      arch/arm/dts/tegra20-trimslice.dts
  15. 0
      arch/arm/dts/tegra20-ventana.dts
  16. 0
      arch/arm/dts/tegra20-whistler.dts
  17. 0
      arch/arm/dts/tegra30-beaver.dts
  18. 0
      arch/arm/dts/tegra30-cardhu.dts
  19. 0
      arch/arm/dts/tegra30-tamonten.dtsi
  20. 0
      arch/arm/dts/tegra30-tec-ng.dts
  21. 0
      arch/arm/dts/zynq-microzed.dts
  22. 0
      arch/arm/dts/zynq-zc702.dts
  23. 0
      arch/arm/dts/zynq-zc706.dts
  24. 0
      arch/arm/dts/zynq-zc770-xm010.dts
  25. 0
      arch/arm/dts/zynq-zc770-xm012.dts
  26. 0
      arch/arm/dts/zynq-zc770-xm013.dts
  27. 0
      arch/arm/dts/zynq-zed.dts
  28. 0
      arch/microblaze/dts/microblaze-generic.dts
  29. 0
      arch/x86/dts/alex.dts
  30. 0
      arch/x86/dts/link.dts
  31. 4
      dts/Makefile
  32. 1
      scripts/Makefile.lib

@ -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)

@ -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__

Loading…
Cancel
Save