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

os.c

Blame
  • Forked from Reform / reform-boundary-uboot
    Source project has a limited visibility.
    • Simon Glass's avatar
      91b136c7
      sandbox: Allow the console to work earlier · 91b136c7
      Simon Glass authored
      
      With sandbox, errors and problems may be reported before console_init_f()
      is executed. For example, an argument may not parse correctly or U-Boot may
      panic(). At present this output is swallowed so there is no indication what
      is going wrong.
      
      Adjust the console to deal with a very early sandbox setup, by detecting that
      there is no global_data yet, and calling os functions in that case.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      91b136c7
      History
      sandbox: Allow the console to work earlier
      Simon Glass authored
      
      With sandbox, errors and problems may be reported before console_init_f()
      is executed. For example, an argument may not parse correctly or U-Boot may
      panic(). At present this output is swallowed so there is no indication what
      is going wrong.
      
      Adjust the console to deal with a very early sandbox setup, by detecting that
      there is no global_data yet, and calling os functions in that case.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>