summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/iseries/dt.c
Commit message (Collapse)AuthorAgeFilesLines
* [POWERPC] Move iSeries initrd logic into device treeMichael Ellerman2006-10-241-2/+13
| | | | | | | | | | | | | | 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>
* Merge branch 'mpe'Stephen Rothwell2006-07-141-2/+40
|\
| * [POWERPC] iseries: Make ItExtVpdPanel private to iSeriesMichael Ellerman2006-07-131-1/+1
| | | | | | | | | | | | | | | | | | No one outside platforms/iseries needs ItExtVpdPanel anymore, so move it in there. It used to be needed by lparcfg, and so was exported, but isn't needed anymore, so unexport it. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
| * [POWERPC] iseries: Cleanup e2a() and strne2a()Michael Ellerman2006-07-131-75/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | e2a() was formally used by lparcfg, and so had to be exported, but isn't anymore, so don't. e2a() and strne2a() can both be static, and __init. And e2a can be made much more concise if we use x ... y case labels, while we're there add support for lower case letters. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
| * [POWERPC] iseries: Move e2a()/strne2a() into their only callerMichael Ellerman2006-07-131-1/+97
| | | | | | | | | | | | | | | | The ASCII -> EBCDIC functions, e2a() and strne2a() are now only used in dt.c, so move them in there. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
* | [POWERPC] iseries: A new iSeries consoleStephen Rothwell2006-07-131-1/+2
|/ | | | | | | | | This driver uses the hvc_console.c infrastructure that is used by the pSeries virtual and RTAS consoles. This will allow us to make viocons.c obsolete and is another step along the way to a combined kernel (as viocons could not coexist with CONFIG_VT). Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
* [POWERPC] Make lparcfg.c work when both iseries and pseries are selectedStephen Rothwell2006-06-291-0/+2
| | | | | | | | This also consolidates the initial bits of lparcfg_data() and adds the partition number to the iSeries flattened device tree. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
* [PATCH] powerpc: cleanup of iSeries flat device treeStephen Rothwell2006-05-241-98/+101
| | | | | | | | | Consolidate the vio device node creation. Make some parameters const. Make a few more things __initdata. Get the device_type strings out of the device tree blob. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
* [PATCH] powerpc: make iSeries flattened device tree dynamic - part 2Stephen Rothwell2006-05-241-43/+19
| | | | | | | | This actually simplies things as we just figure out how much space we used at the end and adjust klimit then. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
* [PATCH] powerpc: make iSeries flattened device tree dynamicStephen Rothwell2006-05-241-39/+57
| | | | | | | | | | | | First we capture all the strings from dt.c statically by noting that gcc puts them in a special section of their own. Idea from Michael Ellerman. Then we move the flattened device tree to klimit. Still to come, making the values blob grow as needed. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
* [PATCH] powerpc: split device tree stuff out of iseries/setup.cStephen Rothwell2006-05-241-0/+618
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
OpenPOWER on IntegriCloud