Skip to content
Snippets Groups Projects
Forked from Reform / reform-boundary-uboot
Source project has a limited visibility.
  • Kumar Gala's avatar
    e822d7fc
    [new uImage] Use lmb for bootm allocations · e822d7fc
    Kumar Gala authored
    
    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: default avatarKumar Gala <galak@kernel.crashing.org>
    e822d7fc
    History
    [new uImage] Use lmb for bootm allocations
    Kumar Gala authored
    
    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: default avatarKumar Gala <galak@kernel.crashing.org>