Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • early-display
  • variant-emmc-nvme-boot
  • 2023-01-25
  • v3
  • variant-emmc-nvme-boot
  • 2020-06-01
7 results

spl.c

Forked from Reform / reform-boundary-uboot
Source project has a limited visibility.
  • Marek Vasut's avatar
    a665b051
    arm: socfpga: Do not call board_init_r() from board_init_f() · a665b051
    Marek Vasut authored
    
    Instead of calling board_init_r() directly from board_init_f(), just
    return from board_init_f(). This will make the code continue executing
    in crt0.S _main(), from which the board_init_r() is called. This patch
    aligns the SoCFPGA SPL with the correct SPL design as well as reduces
    the stack utilisation slightly.
    
    Signed-off-by: default avatarMarek Vasut <marex@denx.de>
    Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
    a665b051
    History
    arm: socfpga: Do not call board_init_r() from board_init_f()
    Marek Vasut authored
    
    Instead of calling board_init_r() directly from board_init_f(), just
    return from board_init_f(). This will make the code continue executing
    in crt0.S _main(), from which the board_init_r() is called. This patch
    aligns the SoCFPGA SPL with the correct SPL design as well as reduces
    the stack utilisation slightly.
    
    Signed-off-by: default avatarMarek Vasut <marex@denx.de>
    Cc: Dinh Nguyen <dinguyen@opensource.altera.com>