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.

        -hpa
_______________________________________________
devicetree-discuss mailing list
[email protected]
https://lists.ozlabs.org/listinfo/devicetree-discuss

Reply via email to