Re: [RESEND DTC PATCH 2/2] Add support for binary includes.

2007-12-23 Thread David Gibson
On Sat, Dec 22, 2007 at 07:57:17AM -0600, Scott Wood wrote: > On Sat, Dec 22, 2007 at 01:51:30PM +1100, David Gibson wrote: > > On Fri, Dec 21, 2007 at 11:09:21AM -0600, Scott Wood wrote: > > > OK. I was being lazy. :-P > > > > In general I'd approve, but having to invoke dtc in the right place >

Re: [RESEND DTC PATCH 2/2] Add support for binary includes.

2007-12-22 Thread Scott Wood
On Sat, Dec 22, 2007 at 01:51:30PM +1100, David Gibson wrote: > On Fri, Dec 21, 2007 at 11:09:21AM -0600, Scott Wood wrote: > > OK. I was being lazy. :-P > > In general I'd approve, but having to invoke dtc in the right place > for the dts file is a bit too big a usability problem, I think. Yeah

Re: [RESEND DTC PATCH 2/2] Add support for binary includes.

2007-12-21 Thread David Gibson
On Fri, Dec 21, 2007 at 11:09:21AM -0600, Scott Wood wrote: > On Fri, Dec 21, 2007 at 11:29:22AM +1100, David Gibson wrote: > > On Thu, Dec 20, 2007 at 01:52:59PM -0600, Scott Wood wrote: > > > A property's data can be populated with a file's contents > > > as follows: > > > > > > node { > > > p

Re: [RESEND DTC PATCH 2/2] Add support for binary includes.

2007-12-21 Thread Scott Wood
On Fri, Dec 21, 2007 at 11:29:22AM +1100, David Gibson wrote: > On Thu, Dec 20, 2007 at 01:52:59PM -0600, Scott Wood wrote: > > A property's data can be populated with a file's contents > > as follows: > > > > node { > > prop = /bin-include/ "path/to/data"; > > }; > > I'd be inclined to use /

[DTC PATCH 2/2] Add support for binary includes.

2007-12-20 Thread Scott Wood
A property's data can be populated with a file's contents as follows: node { prop = /bin-include/ "path/to/data"; }; Search paths are not yet implemented; non-absolute lookups are relative to the directory from which dtc was invoked. Signed-off-by: Scott Wood <[EMAIL PROTECTED]> --- dtc

Re: [RESEND DTC PATCH 2/2] Add support for binary includes.

2007-12-20 Thread David Gibson
On Thu, Dec 20, 2007 at 01:52:59PM -0600, Scott Wood wrote: > A property's data can be populated with a file's contents > as follows: > > node { > prop = /bin-include/ "path/to/data"; > }; I'd be inclined to use /incbin/ rather than /bin-include/. It's only slightly less obvious, but it's

[RESEND DTC PATCH 2/2] Add support for binary includes.

2007-12-20 Thread Scott Wood
A property's data can be populated with a file's contents as follows: node { prop = /bin-include/ "path/to/data"; }; Search paths are not yet implemented; non-absolute lookups are relative to the directory from which dtc was invoked. Signed-off-by: Scott Wood <[EMAIL PROTECTED]> --- Apol