Skip to content
Snippets Groups Projects
  • Gabe Black's avatar
    91d82a29
    x86: Add back cold- and warm-boot flags · 91d82a29
    Gabe Black authored
    
    These were removed, but actually are useful.
    
    Cold means that we started from a reset/power on.
    Warm means that we started from another U-Boot.
    
    We determine whether u-boot on x86 was warm or cold booted (really if
    it started at the beginning of the text segment or at the ELF entry point).
    We plumb the result through to the global data structure.
    
    Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
    91d82a29
    History
    x86: Add back cold- and warm-boot flags
    Gabe Black authored
    
    These were removed, but actually are useful.
    
    Cold means that we started from a reset/power on.
    Warm means that we started from another U-Boot.
    
    We determine whether u-boot on x86 was warm or cold booted (really if
    it started at the beginning of the text segment or at the ELF entry point).
    We plumb the result through to the global data structure.
    
    Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
global_data.h 2.76 KiB