]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[POWERPC] Move iSeries initrd logic into device tree
authorMichael Ellerman <michael@ellerman.id.au>
Wed, 18 Oct 2006 05:53:20 +0000 (15:53 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 24 Oct 2006 05:01:27 +0000 (15:01 +1000)
commit41999295b6c25d799dacbbca089fdbc19f6d60f5
tree139e07fec4f17effbeb0e0f46ec26a5ed4694a0b
parent83efafb301bc79a32799ca854fb590e82c4396e9
[POWERPC] Move iSeries initrd logic into device tree

Remove the iSeries initrd logic, instead just store the initrd location and
size in the device tree so generic code can do the rest for us.

The iSeries code had a "feature" which the generic code lacks, ie. if the
compressed initrd is bigger than the configured ram disk size, we make
the ram disk size bigger. That's bogus, as the compressed size of the initrd
tells us nothing about how big the ram disk needs to be. If the ram disk
isn't big enough you just need to make CONFIG_BLK_DEV_RAM_SIZE larger.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/iseries/dt.c
arch/powerpc/platforms/iseries/setup.c