How is a device tree used to specifiy flash?

Josh Boyer jwboyer at gmail.com
Fri Dec 14 12:57:59 EST 2007


On Thu, 13 Dec 2007 15:28:37 -0800
Bruce_Leonard at selinc.com wrote:

> Okay I just don't get it, but that's not a surprise.  I'm booting a 2.6.23 
> kernel on an MPC8347 using u-boot 1.3.0.  I'm trying to use the device 
> tree to spec my single Spansion/AMD NOR flash part and I can't get the 
> kernel to recognize the part.  Or maybe I just don't know how to tell if 
> the kernel is recognizing the part.  It's possible that everything is fine 
> and I'm just to dumb to know it.
> 
> So I've got a Spansion S29GL128N flash part and the following entry in my 
> device tree:
> 
> flash at ff000000 {

What bus is this node under in your DTS file?  Make sure that bus is
getting probed in the platform code.

josh


More information about the Linuxppc-embedded mailing list