Re: [U-Boot] [PATCH v2 14/32] dm: part: Convert partition API use to linker lists

2016-03-12 Thread Simon Glass
On 29 February 2016 at 15:25, Simon Glass wrote: > We can use linker lists instead of explicitly declaring each function. > This makes the code shorter by avoiding switch() statements and lots of > header file declarations. > > While this does clean up the code it introduces a

[U-Boot] [PATCH v2 14/32] dm: part: Convert partition API use to linker lists

2016-02-29 Thread Simon Glass
We can use linker lists instead of explicitly declaring each function. This makes the code shorter by avoiding switch() statements and lots of header file declarations. While this does clean up the code it introduces a few code issues with SPL. SPL never needs to print partition information since