[PATCH] MTD for Taco
smaclennan at pikatech.com
Sun Jan 6 14:20:58 EST 2008
David Gibson wrote:
>> I'm pretty sure that you don't need a board specific mapping driver
>> for NOR flash. physmap_of should be exactly what you need. You just need
>> to fill the device tree properties correctly.
> Absolutely. We should not be using C-coded maps in arch/powerpc
Ok a couple of questions. How do I find out the size of the NOR flash?
It was in a global in the ppc arch.
Also, where is the best place to fixup the partitions? We have paritions
that must be at the top and ones that must be at the bottom, so we
dynamically setup the partitions based on the NOR size. The NOR size is
And is it ok the name the paritions in the dts based on an index? I
notice others use an address, but since I don't know the address up
front I just used index numbers.
More information about the Linuxppc-dev