]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
[new uImage] Use lmb for bootm allocations
authorKumar Gala <galak@kernel.crashing.org>
Thu, 28 Feb 2008 03:51:49 +0000 (21:51 -0600)
committerMarian Balakowicz <m8@semihalf.com>
Fri, 29 Feb 2008 12:15:56 +0000 (13:15 +0100)
commite822d7fc4dd4755d4d0a22f05e33f33d1a0481da
tree2b63ad520db48b6e134cd7d5ce67e950f428c1cc
parentf5614e7926863bf0225ec860d9b319741a9c4004
[new uImage] Use lmb for bootm allocations

Convert generic ramdisk_high(), get_boot_cmdline(), get_boot_kbd()
functions over to using lmb for allocation of the ramdisk, command line
and kernel bd info.

Convert PPC specific fdt_relocate() to use lmb for allocation of the device
tree.

Provided a weak function that board code can call to do additional
lmb reserves if needed.

Also introduce the concept of bootmap_base to specify the offset in
physical memory that the bootmap is located at.  This is used for
allocations of the cmdline, kernel bd, and device tree as they should
be contained within bootmap_base and bootmap_base + CFG_BOOTMAPSZ.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
common/cmd_bootm.c
common/image.c
include/image.h
lib_m68k/bootm.c
lib_ppc/bootm.c