Re: loading NOR flash from DT

Sebastian Siewior
2007-10-18T07:57:30Z

* Sergei Shtylyov | 2007-10-17 23:54:08 [+0400]:

> Hello.
Hello,

> I guess you were using quite recent kernel version where the file that
> published the node (arch/powerpc/sysdev/rom.c) had been already dremoved
> and and the platform code still didn't publish the on-board devices via
> of_platform_bus_probe().
>
>> After modprobing physmap_of nothing happend. Then I tried to make a tree
>> with plb -> opb -> ebc and finally nor_flash but still nothing changed.
>
> Add either of_platform_bus_probe() or platform_device_create() to
> arch/powerpc/platforms/85xx/85xx_ds.c.
>
>> Is there a user space dependency or did I just edit my device tree the
>> wrong way? Any hints are welcome :)
>

Thanks, that was the missing piece :)
>
> WBR, Sergei

Sebastian