dtc: import latest upstream dtc

David Gibson david at gibson.dropbear.id.au
Thu Oct 11 10:06:20 EST 2012


On Wed, Oct 10, 2012 at 08:41:45AM -0600, Warner Losh wrote:
> On Oct 10, 2012, at 1:24 AM, David Gibson wrote:
> > On Tue, Oct 09, 2012 at 10:43:50PM -0600, Warner Losh wrote:
[snip]
> >> .h files include both structs and defines, which are fine for
> >> ordinary C code, but problematic in this context.
> > 
> > Right, cpp should be invoked with similar options to the way it's done
> > for asm files which have the same problem.  I'm not sure if the
> > current patch does so.
> 
> I know the current dtc code is very careful to license itself in a
> very agnostic way.  Would including files, possibly from the Linux
> kernel, pose any kind of license issue?  Or does the fact that many
> (but not all) .dts files being apparently licensed GPL already make
> this a moot point?  Or does it not matter since this is an interface
> and declaration of information, which likely isn't creative enough
> to receive to copyright protection....  Or is this a can of worms
> best avoided :)

Um... what?  The licensing of dtc itself has nothing to do with the
licensing of the dts files used as input to it.  Those, and their
includes, would be licensed GPLv2 just like the rest of the kernel,
I'd expect.

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson


More information about the devicetree-discuss mailing list