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

debug_uart.h

Blame
  • Forked from Reform / reform-boundary-uboot
    Source project has a limited visibility.
    • Simon Glass's avatar
      2f964aa7
      serial: Support an early UART for debugging · 2f964aa7
      Simon Glass authored
      This came up in a discussion on the mailing list here:
      
      https://patchwork.ozlabs.org/patch/384613/
      
      
      
      My concerns at the time were:
      - it doesn't need to be written in assembler
      - it doesn't need to be ARM-specific
      
      This patch provides a possible alternative. It works by allowing any serial
      driver to export one init function and provide a putc() function. These
      can be used to output debug data before the real serial driver is available.
      
      This implementation does not depend on driver model, and it is possible for
      it to operate without a stack on some architectures (e.g. PowerPC, ARM). It
      provides the same features as the ARM-specific debug.S but with more UART
      and architecture support.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      2f964aa7
      History
      serial: Support an early UART for debugging
      Simon Glass authored
      This came up in a discussion on the mailing list here:
      
      https://patchwork.ozlabs.org/patch/384613/
      
      
      
      My concerns at the time were:
      - it doesn't need to be written in assembler
      - it doesn't need to be ARM-specific
      
      This patch provides a possible alternative. It works by allowing any serial
      driver to export one init function and provide a putc() function. These
      can be used to output debug data before the real serial driver is available.
      
      This implementation does not depend on driver model, and it is possible for
      it to operate without a stack on some architectures (e.g. PowerPC, ARM). It
      provides the same features as the ARM-specific debug.S but with more UART
      and architecture support.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>