Re: Flash on LocalBus @ MPC8343

2008-04-15 Thread Scott Wood
On Tue, Apr 15, 2008 at 01:53:56PM +0200, Andre Schwarz wrote: > Scott, > > there has been a "compatible=soc" in my of_bus_id[] ... > It was taken from mpc834x_mds some weeks ago. > > I changed to : > > static struct of_device_id __initdata of_bus_ids[] = { >{ .compatible = "fsl,pq2pro-l

Re: Flash on LocalBus @ MPC8343

2008-04-15 Thread Andre Schwarz
Scott, there has been a "compatible=soc" in my of_bus_id[] ... It was taken from mpc834x_mds some weeks ago. I changed to : static struct of_device_id __initdata of_bus_ids[] = { { .compatible = "fsl,pq2pro-localbus", }, {}, }; now it works fine. Thanks ! Andre Scott Wood sc

Re: Flash on LocalBus @ MPC8343

2008-04-14 Thread Scott Wood
On Sat, Apr 12, 2008 at 10:58:50AM +0200, André Schwarz wrote: > thanks , but ... can't find "of_bus_ids[]" entry. That means your platform likely isn't calling of_platform_bus_probe() at all. Look at other platforms, such as mpc831x_rdb, for an example. > I'm obviously out of sync. My last git-

Re: Flash on LocalBus @ MPC8343

2008-04-12 Thread André Schwarz
Scott, thanks , but ... can't find "of_bus_ids[]" entry. I'm obviously out of sync. My last git-pull from denx is 3 days old, now - need to update on monday. It seems hard for "normal" people to keep up these days ! Cheers, André Scott Wood wrote: André Schwarz wrote: Scott, thanks for

Re: Flash on LocalBus @ MPC8343

2008-04-11 Thread Scott Wood
André Schwarz wrote: Scott, thanks for your help ... but Scott Wood wrote: On Fri, Apr 11, 2008 at 05:13:47PM +0200, Andre Schwarz wrote: To me it looks like there's a problem regarding the local bus in general. Am I missing a "compatible" or anything else ? "reg" or "ranges" ? Do

Re: Flash on LocalBus @ MPC8343

2008-04-11 Thread André Schwarz
Scott, thanks for your help ... but Scott Wood wrote: On Fri, Apr 11, 2008 at 05:13:47PM +0200, Andre Schwarz wrote: To me it looks like there's a problem regarding the local bus in general. Am I missing a "compatible" or anything else ? "reg" or "ranges" ? Do you have an of_bus_ids

Re: Flash on LocalBus @ MPC8343

2008-04-11 Thread Scott Wood
On Fri, Apr 11, 2008 at 05:13:47PM +0200, Andre Schwarz wrote: > To me it looks like there's a problem regarding the local bus in general. > > Am I missing a "compatible" or anything else ? "reg" or "ranges" ? Do you have an of_bus_ids[] entry that covers the localbus? -Scott

Re: Flash on LocalBus @ MPC8343

2008-04-11 Thread Laurent Pinchart
On Friday 11 April 2008 17:13, Andre Schwarz wrote: > Hi all, > > I've been trying hard to make the mtd-partitions available via device > tree on my MPC8343 local bus. > No success so far ... > > Everything works fine on my MPC5200B based system - flash layout > definition is quite simple

Flash on LocalBus @ MPC8343

2008-04-11 Thread Andre Schwarz
Hi all, I've been trying hard to make the mtd-partitions available via device tree on my MPC8343 local bus. No success so far ... Everything works fine on my MPC5200B based system - flash layout definition is quite simple To me it looks like there's a problem regarding the local bus in