Skip to content
  • Marek Vasut's avatar
    arm: socfpga: config: Move SPL GD and malloc to RAM · 7599b53d
    Marek Vasut authored
    
    
    Now that the SPL structure is organised such that it matches the
    U-Boot's SPL design, it is possible to use the option of relocating
    GD to RAM. And since we have GD in RAM, move malloc area to RAM as
    well. We point the malloc base pointer 1 MiB past U-Boot's load
    address. We use simple malloc for SPL because it is 3kiB smaller
    in terms of code size than regular malloc which was used thus far.
    
    Signed-off-by: default avatarMarek Vasut <marex@denx.de>
    7599b53d