alistair23-linux/arch/powerpc
David Gibson 79c8541924 [POWERPC] zImage: Cleanup and improve prep_kernel()
This patch rewrites prep_kernel() in the zImage wrapper code to be
clearer and more flexible.  Notable changes:

	- Handling of the initrd image from prep_kernel() has moved
into a new prep_initrd() function.
	- The address of the initrd image is now added as device tree
properties, as the kernel expects.
	- We only copy a packaged initrd image to a new location if it
is in danger of being clobbered when the kernel moves to its final
location, instead of always.
	- By default we decompress the kernel directly to address 0,
instead of requiring it to relocate itself.  Platforms (such as OF)
where doing this could clobber still-live firmware data structures can
override the vmlinux_alloc hook to provide an alternate place to
decompress the kernel.
	- We no longer pass lots of information between functions in
global variables.

Signed-off-by: David Gibson <dwg@au1.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-03-13 13:35:01 +11:00
..
boot [POWERPC] zImage: Cleanup and improve prep_kernel() 2007-03-13 13:35:01 +11:00
configs Merge branch '85xx' into for_paulus 2007-02-17 16:32:46 -06:00
kernel [POWERPC] 750CL cputable entry 2007-03-09 15:03:26 +11:00
lib [POWERPC] Make ppc64_defconfig without CONFIG_PPC_PSERIES build 2007-03-09 15:03:24 +11:00
math-emu [POWERPC] ppc math-emu needs -fno-builtin-fabs for math.c and fabs.c 2006-09-26 15:24:35 +10:00
mm [POWERPC] Allow duplicate lmb_reserve() calls 2007-03-08 15:43:28 +11:00
oprofile [POWERPC] cell: pm_rtas_activat_signals routine cleanup 2007-02-13 22:03:07 +01:00
platforms [POWERPC] Remove fixed setting of ROOT_DEV for 7448HPC2 platforms 2007-03-09 15:03:26 +11:00
sysdev [POWERPC] Create and use set_pci_dma_ops 2007-03-09 15:03:25 +11:00
xmon [POWERPC] Allow xmon to build without CONFIG_DEBUG_BUGVERBOSE 2007-03-09 15:03:26 +11:00
.gitignore [POWERPC] Add files build to .gitignore 2006-12-04 20:41:29 +11:00
Kconfig [POWERPC] Allow pSeries to build without CONFIG_PCI 2007-03-09 15:03:26 +11:00
Kconfig.debug [POWERPC] pasemi: UART udbg support 2007-02-07 14:03:22 +11:00
Makefile [POWERPC] Create a "wrapper" script and use it in arch/powerpc/boot 2006-09-28 14:30:02 +10:00