Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: good way to identify board type on Marvell SoC NAS boxes?



On Sunday 23 August 2009 14:44:32 FUKAUMI Naoki wrote:

> GPIO configuration is different from another NAS boxes. for now, I
> need to make new kernel config and hard-code board specific
> configuration.
>
> I want to add board identify code and share kernel between NAS boxes.

If uboot pre-configures the GPIO pins on each board, why not use that 
difference in GPIO configuration (as in, pin direction/function 
registers) as a fingerprint to determine the board type?

Steve


Home | Main Index | Thread Index | Old Index