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

Tom Rini trini at ti.com
Thu Feb 20 14:43:53 CET 2014


On Thu, Feb 20, 2014 at 06:22:20PM +0900, Masahiro Yamada wrote:
> 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.

So, for clarity, yes, I this this is the right way to go and we should
focus our "we can do better" efforts on the discussion that is / will be
happening with the kernel folks about how things should be handled once
all these blobs move out of the kernel as that'll be something we want
to leverage too.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140220/80b06850/attachment.pgp>


More information about the U-Boot mailing list