[U-Boot] [U-Boot, v3, 2/3] dts: move device tree sources to arch/$(ARCH)/dts/

Masahiro Yamada yamada.m at jp.panasonic.com
Thu Feb 20 10:22:20 CET 2014


Hello Tom, Simon

> > 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 at jp.panasonic.com>
> 
> Applied to u-boot/master, thanks!
> 
> -- 
> Tom


This series was applied sooner than I had expected.
Simon and I were still discussing this series.

So I am afraid Simon is really not happy about it
because he was opposed to moving *.dts files
from vendor directories to arch directories.

Tom also mentioned as follows:
> This, I think is backwards.  Xilinx has (and Freescale and others are or
> will be joining them) a lot of things shared between them as IP blocks
> get reused from non-ARM to ARM CPUs.  So there's a level of DT sharing
> for these blocks between the CPUs.

I'd like to know Tom's option about the device tree structure.
Let me confirm if my patch is doing right thing.


Best Regards
Masahiro Yamada



More information about the U-Boot mailing list