Re: [U-Boot] [PATCH 2/3] common: Implement support for linker-generated arrays

2012-09-24 Thread Marek Vasut
Dear Joe Hershberger, [...] > > +#define ll_entry_declare(_type, _name, _section_u, _section_d) \ > > + _type _u_boot_list_##_section_u##_##_name __attribute__(( \ > > + unused, aligned(4), \ > > + section

Re: [U-Boot] [PATCH 2/3] common: Implement support for linker-generated arrays

2012-09-24 Thread Joe Hershberger
Hi Marek, On Sun, Sep 23, 2012 at 8:21 PM, Marek Vasut wrote: > This patch adds support for linker-generated array. These arrays > are a generalization of the U-Boot command declaration approach. > > Basically, the idea is to generate an array, where elements of the > array are statically initial

[U-Boot] [PATCH 2/3] common: Implement support for linker-generated arrays

2012-09-23 Thread Marek Vasut
This patch adds support for linker-generated array. These arrays are a generalization of the U-Boot command declaration approach. Basically, the idea is to generate an array, where elements of the array are statically initialized at compiler time and each element is declared separatelly at differe