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

main.c

Forked from Reform / reform-boundary-uboot
Source project has a limited visibility.
  • Wolfgang Denk's avatar
    143cd21f
    Move CONFIG_UPDATE_TFTP code after CONFIG_PREBOOT · 143cd21f
    Wolfgang Denk authored
    
    The auto-update feature (CONFIG_UPDATE_TFTP) requires that the env
    variable serverip be set for the TFTP access. If DHCP is to be used
    to get the serverip env variable, this doesn't work as DHCP happens
    after the auto-update attempt has run. A solution is to run DHCP in
    PREBOOT, but even this is too late.
    
    To solve this, we move update_tftp() below the PREBOOT stuff.
    
    Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
    143cd21f
    History
    Move CONFIG_UPDATE_TFTP code after CONFIG_PREBOOT
    Wolfgang Denk authored
    
    The auto-update feature (CONFIG_UPDATE_TFTP) requires that the env
    variable serverip be set for the TFTP access. If DHCP is to be used
    to get the serverip env variable, this doesn't work as DHCP happens
    after the auto-update attempt has run. A solution is to run DHCP in
    PREBOOT, but even this is too late.
    
    To solve this, we move update_tftp() below the PREBOOT stuff.
    
    Signed-off-by: default avatarWolfgang Denk <wd@denx.de>