I have a question that is probably more appropriate to a Kernel mailing
list but I'm hoping that someone can point me in the right direction.
I'm running kernel 2.6.23 on a custom board based on the Freescale
MPC8313E RDB, starting from their BSP. (Yes, I know that this isn't one
of your Ltibs, but again I'm hoping someone can give general advice.)
This board has two identical NOR flash chips (standard JEDIC command
set) which I have mapped into adjacent memory address ranges. The flash
parts work fine under my modified u-boot so I know my hardware and
address mapping are ok.
The kernel maps the flash partitions using the device tree, using
physmap_of.c but I cannot figure out how to map both flash parts. I
tried adding a second entry to the dts, based on the existing one, with
only the name, register address and partitions different but
of_physmap_probe only gets called for the first entry (whichever one I
put first in the dts).
I also tried making one entry with the address space (second half of the
"reg" entry) doubled to see if it would just find both chips but again,
of_physmap_probe only gets called for the first chip. The passed in
resource size is the size of one chip, half of what is in the dts file,
so it is getting filtered somewhere, presumably in the flash device driver.
Any ideas on what needs to be done?
Thanks,
/Ted Marshall
_______________________________________________
LTIB home page: http://ltib.org
Ltib mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/ltib