[U-Boot] [PATCH u-boot-arm/next 1/2] OMAP3: igep00x0: Add config option to choose flash storage memory

Enric Balletbò i Serra
2012-07-17T07:13:13Z

Hi,

2012/7/17 Tom Rini <trini@ti.com>:
> On 07/16/2012 04:41 PM, Javier Martinez Canillas wrote:
>
> [snip]
>> Runtime detection is possible reading the sysboot as you said (in fact
>> this is how we do it in the kernel) but as Tom said I didn't find a
>> common way to do this. I guess you can manually detect the NAND type
>> and configure the GPMC registers on the board code but I didn't see
>> other OMAP boards doing this. Instead I found other examples of boards
>> using compile options to choose between memory types.
>>
>> Of course I will be more than glad if you have a better approach to
>> solve this :-)
>
> The biggest problem is that today we don't have a way to read/write
> environment to a dynamically detected backing store. I had an idea on
> how to do this, but given the device model will also allow for this,
> easier, that's the way to go.
>
> --
> Tom

Cool, thanks for the explanations Tom.

Javier, of course you have my :-)

Acked-by: Enric Balletbo i Serra <eballetbo@gmail.com>

Cheers,
Enric