Hi Masahiro, On 4 February 2014 02:38, Masahiro Yamada <yamad...@jp.panasonic.com> wrote: > It is convenient to have all device trees on the same SoC compiled. > It allows for later easy repackaging without the need to re-run > the make file. > > - Build device trees with the same SoC under arch/$(ARCH)/dts > - Copy the one specified by CONFIG_DEFAULT_DEVICE_TREE or > DEVICE_TREE=... to dts/dt.dtb > > Signed-off-by: Masahiro Yamada <yamad...@jp.panasonic.com> > --- > > Changes in v2: > - Newly added > > arch/arm/dts/.gitignore | 1 + > arch/arm/dts/Makefile | 37 +++++++++++++++++++++++++++++++++++++ > arch/microblaze/dts/.gitignore | 1 + > arch/microblaze/dts/Makefile | 11 +++++++++++ > arch/x86/dts/.gitignore | 1 + > arch/x86/dts/Makefile | 12 ++++++++++++ > dts/Makefile | 31 ++++++++++++++++++++----------- > 7 files changed, 83 insertions(+), 11 deletions(-) > create mode 100644 arch/arm/dts/.gitignore > create mode 100644 arch/arm/dts/Makefile > create mode 100644 arch/microblaze/dts/.gitignore > create mode 100644 arch/microblaze/dts/Makefile > create mode 100644 arch/x86/dts/.gitignore > create mode 100644 arch/x86/dts/Makefile > > diff --git a/arch/arm/dts/.gitignore b/arch/arm/dts/.gitignore > new file mode 100644 > index 0000000..b60ed20 > --- /dev/null > +++ b/arch/arm/dts/.gitignore > @@ -0,0 +1 @@ > +*.dtb > diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile > new file mode 100644 > index 0000000..2658911 > --- /dev/null > +++ b/arch/arm/dts/Makefile > @@ -0,0 +1,37 @@ > +dtb-$(CONFIG_EXYNOS5) += exynos5250-arndale.dtb \ > + exynos5250-snow.dtb \ > + exynos5250-smdk5250.dtb \ > + exynos5420-smdk5420.dtb > + > +dtb-$(CONFIG_TEGRA) += tegra20-harmony.dtb \ > + tegra20-medcom-wide.dtb \ > + tegra20-paz00.dtb \ > + tegra20-plutux.dtb \ > + tegra20-seaboard.dtb \ > + tegra20-tec.dtb \ > + tegra20-trimslice.dtb \ > + tegra20-ventana.dtb \ > + tegra20-whistler.dtb \ > + tegra20-colibri_t20_iris.dtb \ > + tegra30-beaver.dtb \ > + tegra30-cardhu.dtb \ > + tegra30-tec-ng.dtb \ > + tegra114-dalmore.dtb > + > +dtb-$(CONFIG_ZYNQ) += zynq-zc702.dtb \ > + zynq-zc706.dtb \ > + zynq-zed.dtb \ > + zynq-microzed.dtb \ > + zynq-zc770-xm010.dtb \ > + zynq-zc770-xm012.dtb \ > + zynq-zc770-xm013.dtb
This better matches what the kernel does, but I'm not 100% comfortable about putting all these files in arch/arm. Granted the vendor directory may not correspond to a particular SoC, but we can put tegra20.dtsi in arch/arm/dts so that all tegra boards can use it, for example. Regards, Simon _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot