12 May, 2017

1 commit

  • Add debug UART functions to permit omap specific ns16550 to
    provide an early debug UART. This is mostly in common with
    DEBUG_UART_NS16550 except for Mode definition register which
    is required for selecting UART mode(16x auto-baud or 13x mode).

    Signed-off-by: Lokesh Vutla
    Reviewed-by: Simon Glass
    Reviewed-by: Tom Rini

    Lokesh Vutla
     

13 Apr, 2017

1 commit

  • Spam detection software, running on the system "lists.denx.de",
    has identified this incoming email as possible spam. The original
    message has been attached to this so you can view it or label
    similar future email. If you have any questions, see
    @@CONTACT_ADDRESS@@ for details.

    Content preview: Previous change to create _printch causes the stack to be
    used, breaking printch before stack is available. Inline _printch to prevent
    this happening. Signed-off-by: Tim Chick --- [...]

    Content analysis details: (6.3 points, 5.0 required)

    pts rule name description
    ---- ---------------------- --------------------------------------------------
    0.7 RCVD_IN_XBL RBL: Received via a relay in Spamhaus XBL
    [188.29.165.105 listed in zen.spamhaus.org]
    3.6 RCVD_IN_PBL RBL: Received via a relay in Spamhaus PBL
    1.6 RCVD_IN_BRBL_LASTEXT RBL: No description available.
    [188.29.165.105 listed in bb.barracudacentral.org]
    0.4 RDNS_DYNAMIC Delivered to internal network by host with
    dynamic-looking rDNS
    Previous change to create _printch causes the stack to be used,
    breaking printch before stack is available. Inline _printch to
    prevent this happening.

    Signed-off-by: Tim Chick

    tim.chick
     

15 Mar, 2016

1 commit


21 Oct, 2015

3 commits

  • It is useful to see a message from the debug UART early during boot so that
    you know things are working. Add an option to enable this. The message will
    be displayed as soon as debug_uart_init() is called.

    Signed-off-by: Simon Glass
    Reviewed-by: Bin Meng

    Simon Glass
     
  • Some boards need to set things up before the debug UART can be used. On
    these boards a call to debug_uart_init() is insufficient. When this option
    is enabled, the function board_debug_uart_init() will be called when
    debug_uart_init() is called. You can put any code here that is needed to
    set up the UART ready for use, such as set pin multiplexing or enable
    clocks.

    Signed-off-by: Simon Glass
    Reviewed-by: Bin Meng

    Simon Glass
     
  • We want to be able to add other common code to this function. So change the
    driver's version to have an underscore before it, just like
    _debug_uart_putc(). Define debug_uart_init() to call this version.

    Update all drivers to this new method.

    Signed-off-by: Simon Glass
    Reviewed-by: Bin Meng

    Simon Glass
     

22 Jul, 2015

1 commit


19 Feb, 2015

1 commit

  • 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: Simon Glass

    Simon Glass