On Mon, Nov 15, 2010 at 04:27:06PM -0800, H. Peter Anvin wrote: > On 11/13/2010 10:22 PM, Grant Likely wrote: > > > > 'char' is completely bogus in this context. Either void or struct > > boot_param_header would be more accurate and useful. I believe you > > can do: > > > > extern void __dtb_start; > > extern_void __dtb_end; > > > > And then reference the addresses with &__dtb_start and &__dtb_end. > > That would eliminate a lot of the casting below. > > > > Except that doesn't work with gcc 4.5+; you really need to use an array > type.
heh. Oh well, an array it must be then. g. _______________________________________________ devicetree-discuss mailing list [email protected] https://lists.ozlabs.org/listinfo/devicetree-discuss
