[PATCH v2 2/4] mpc8313erdb: Add NAND to device tree, and call of_platform_bus_probe().

Scott Wood scottwood at freescale.com
Sat Dec 15 14:48:57 EST 2007


On Sat, Dec 15, 2007 at 12:55:43PM +1100, David Gibson wrote:
> > +		// CS0 and CS1 are swapped when
> > +		// booting from nand, but the
> > +		// addresses are the same.
> 
> Should the bootwrapper have some kind of fixup to poke in the correct
> chipselect values based on the state?
> 
> Or should we have a function to fill in the elbc's ranges property
> based on the bridge control registers, as we do for the ebc on 4xx.

We could, though I'm inclined to be lazy about it since nothing really
cares (well, the elbc nand code *does* care which chip select it's on,
but it figures it out by matching the address in the localbus registers).

-Scott



More information about the Linuxppc-dev mailing list