[PATCH v7 3/3] [POWERPC] MPC832x_RDB: update dts to use SPI1in QE, register mmc_spi stub

Anton Vorontsov avorontsov at ru.mvista.com
Tue Sep 4 01:13:19 EST 2007


On Mon, Sep 03, 2007 at 08:55:56AM -0500, Timur Tabi wrote:
[...]
> Besides, every other board does it's par_io configuration based on the 
> device tree.

My words. ;-) See
http://ozlabs.org/pipermail/linuxppc-dev/2007-August/040685.html

Also, see how it was made initially:
http://ozlabs.org/pipermail/linuxppc-dev/2007-August/040440.html

par_io was in the device tree. But Kumar and Segher convinced me to
not do that.

> So if Anton is going to break that pattern, we should be 
> talking about moving all that code into U-boot,
[...]

To my personal taste that's bad idea. In that scheme, I need to upgrade
bootloader to use such a little thing as SPI from the kernel.

I expect very few things from the bootloader: setup memory controller,
copy kernel from the source (flash, ethernet, rs232, ide, sata, ...)
into the RAM and boot it. Everything else from the bootloader side is
profusion.

p.s. Cc'ing Kumar.

-- 
Anton Vorontsov
email: cbou at mail.ru
backup email: ya-cbou at yandex.ru
irc://irc.freenode.net/bd2



More information about the Linuxppc-dev mailing list