[PATCH 15/23] Alternative mmc structure to support pxa168, pxa910, mmp2 family SD
arnd at arndb.de
Wed Dec 22 09:10:36 EST 2010
On Wednesday 22 December 2010 08:09:58 Philip Rakity wrote:
> The PXA168, PXA910, and MMP2 are not the same SOC. The family
> of embedded processors have slightly different internal blocks
> for SD, I2C, etc. Sometimes it is important to know which SOC
> is being used due to differences in the silicon. Sometimes it
> is important to know evaluation boards should be selected based
> on the SOC on the board.
This looks like you're moving in the wrong direction.
If the chips are just slightly different, you'd certainly
want to make sure that you can detect the difference at runtime,
and be able to use the same kernel on all of the variants.
Instead, you promote each of the SOCs to a top-level family
in this patch, which makes it impossible to build a kernel
for more than one of them at a time.
More information about the linux-arm-kernel