Skip to content
Snippets Groups Projects
Forked from Reform / reform-boundary-uboot
Source project has a limited visibility.
  • Marek Vasut's avatar
    ef84861b
    arm: socfpga: misc: Fix warm reset · ef84861b
    Marek Vasut authored
    
    Write necessary magic value into the Warm Boot from ON-Chip RAM
    group Enable register to enable Warm reset support. Instead of
    doing this in the reset_cpu() function, we do it in arch early
    init to avoid breaking old kernel code which expects this magic
    value to be already written into this register.
    
    This magic is originally excavated from common/spl/spl.c in the
    u-boot port from altera, where this value was written just before
    the SPL jumped to actual U-Boot in the RAM.
    
    Signed-off-by: default avatarMarek Vasut <marex@denx.de>
    ef84861b
    History
    arm: socfpga: misc: Fix warm reset
    Marek Vasut authored
    
    Write necessary magic value into the Warm Boot from ON-Chip RAM
    group Enable register to enable Warm reset support. Instead of
    doing this in the reset_cpu() function, we do it in arch early
    init to avoid breaking old kernel code which expects this magic
    value to be already written into this register.
    
    This magic is originally excavated from common/spl/spl.c in the
    u-boot port from altera, where this value was written just before
    the SPL jumped to actual U-Boot in the RAM.
    
    Signed-off-by: default avatarMarek Vasut <marex@denx.de>