Flat device tree definitions for FLASH and MTD partitioning

Wolfgang Grandegger wg at grandegger.com
Sun Apr 8 22:41:04 EST 2007


Sergei Shtylyov wrote:
> Hello, I wrote:
> 
>>> are there already some thought or even example code on how to define 
>>> Flash memory and MTD partitions in the DTS. This would avoid the 
>>> ackward MTD partitioning via static structure or boot line argument 
>>> and could be done in a generic way.
> 
>>     See Documentation/powerpc/booting-without-of.txt and 
>> drivers/mtd/physmap_of.c for what's been already done.
> 
>    I meant drivers/mtd/maps/physmap_of.c

Ah, I missed that, thanks a lot.

Wolfgang.



More information about the Linuxppc-embedded mailing list