[PATCH 4/5] ppc: DA923RC: add board support

Renaud Barbier renaud.barbier at ge.com
Mon Nov 4 13:06:29 EST 2013


On 01/11/2013 20:28, Sascha Hauer wrote:

>>
>> I found a way to do it. This implies to:
>> - register the i2c-imx driver at the postcore initcall level.
>> - register the board i2c bus at the postcore initcall level
>>   and perform the rest of the board initialization.
>>
>>
>> The i2c-imx driver is shared between architectures. If you do not
>> foresee any side-effects on the ARM architecture and this is acceptable
>> to you, I would like to submit a patch including this solution.
> 
> Could you set the model to a superset of both possible boards initially,
> something like DA923RC/GBX460? Then set the correct board type in a
> late_initcall. The only thing affected is the printing of the board type
> in the banner, right?

Indeed, in this particular example, the only thing affected is the
printing of the board name.
However, reading the I2C early is not just for the board name.
We have other variants of the board coming that may require minor
adjustment (for instance DDR timing tuning) or early configuration.

Renaud.



More information about the barebox mailing list