On Wed, Sep 18, 2013 at 02:02:09PM +0200, Hauke Mehrtens wrote: > On 09/18/2013 01:41 PM, Geert Uytterhoeven wrote: > > On Wed, Sep 18, 2013 at 1:29 PM, Hauke Mehrtens <hauke@xxxxxxxxxx> wrote: > >> Detect on which board this code is running based on some nvram > >> settings. This is needed to start board specific workarounds and > >> configure the leds and buttons which are on different gpios on every board. > >> > >> This patches add some boards we have seen, but there are many more. > > > > Can you please make the board database __initconst, and only retain in memory > > a copy of the detected board info? > > > > Gr{oetje,eeting}s, > > > > Geert > > > I will change this in a next version of this patch. I've already queued the first version of the patch so an incremental patch would be handy. Thanks, Ralf