1. 06 Aug, 2020 1 commit
  2. 15 May, 2020 1 commit
  3. 16 Apr, 2020 1 commit
  4. 02 Dec, 2019 3 commits
  5. 15 Jan, 2019 5 commits
  6. 05 Dec, 2018 2 commits
  7. 03 Dec, 2018 1 commit
  8. 16 Nov, 2018 1 commit
  9. 11 Sep, 2018 3 commits
  10. 08 Aug, 2018 1 commit
  11. 26 May, 2018 1 commit
  12. 06 Apr, 2018 1 commit
  13. 24 Aug, 2017 1 commit
    • Stefan Roese's avatar
      serial: serial-uclass: Add generic serial RX buffer support · 3ca7a06a
      Stefan Roese authored and Bin Meng's avatar Bin Meng committed
      
      
      Pasting longer lines into the U-Boot console prompt sometimes leads to
      characters missing. One problem here is the small 16-byte FIFO of the
      legacy NS16550 UART, e.g. on x86 platforms.
      
      This patch now introduces a Kconfig option to enable RX buffer support
      for all DM based serial drivers. With this option enabled, I was
      able paste really long lines into the U-Boot console, without any
      characters missing.
      Signed-off-by: Stefan Roese's avatarStefan Roese <sr@denx.de>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Bin Meng <bmeng.cn@gmail.com>
      Cc: Tom Rini <trini@konsulko.com>
      Reviewed-by: Bin Meng's avatarBin Meng <bmeng.cn@gmail.com>
      Tested-by: Bin Meng's avatarBin Meng <bmeng.cn@gmail.com>
      3ca7a06a
  14. 03 Jul, 2017 1 commit
  15. 16 Jun, 2017 3 commits
  16. 27 May, 2016 1 commit
  17. 22 Oct, 2015 1 commit
  18. 24 Feb, 2015 2 commits
  19. 04 Nov, 2014 1 commit
  20. 10 Sep, 2014 1 commit
  21. 20 Aug, 2013 1 commit
  22. 16 Jan, 2013 1 commit
  23. 17 Oct, 2012 1 commit
    • Marek Vasut's avatar
      serial: Implement default_serial_puts() · bfb7d7a3
      Marek Vasut authored
      
      
      U-Boot contains a lot of duplicit implementations of serial_puts()
      call which just pipes single characters into the port in loop. Implement
      function that does this behavior into common code, so others can make
      easy use of it.
      
      This function is called default_serial_puts() and it's sole purpose
      is to call putc() in loop on the whole string passed to it.
      Signed-off-by: Marek Vasut's avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      bfb7d7a3
  24. 15 Oct, 2012 5 commits
    • Marek Vasut's avatar
      serial: Remove CONFIG_SERIAL_MULTI from remaining sources · 036036d7
      Marek Vasut authored
      
      
      Remove the parts depending either on disabled CONFIG_SERIAL_MULTI
      or ifdefs around CONFIG_SERIAL_MULTI parts since CONFIG_SERIAL_MULTI
      is now enabled by default.
      Signed-off-by: Marek Vasut's avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Anatolij Gustschin <agust@denx.de>
      Cc: Stefan Roese <sr@denx.de>
      036036d7
    • Marek Vasut's avatar
      serial: zoom2: Remove zoom2 serial prototypes from serial.h · 425101e1
      Marek Vasut authored
      
      
      Remove the prototypes for zoom2_serial_deviceN from serial.h . This
      can't be done right away, as they are referenced from the zoom2
      config file. Therefore, adjust the code so the config file only
      specifies number of the port. Then, replace the simple return in
      default_serial_console() with a switch across possible values, which
      returns the zoom2_serial_deviceN . With such adjustment in place,
      the exported prototypes in serial.h can be safely removed.
      Signed-off-by: Marek Vasut's avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      425101e1
    • Marek Vasut's avatar
      serial: bfin: Adjust serial_register_bfin_uart() · 5ae1de0d
      Marek Vasut authored
      
      
      Rename the serial_register_bfin_uart() to bfin_initialize_serial()
      to be consistent with the rest of the naming. Next, remove it's
      prototype from serial.h and properly insert it into serial.c as
      the rest of the serial initialization functions.
      Signed-off-by: Marek Vasut's avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Mike Frysinger <vapier@gentoo.org>
      5ae1de0d
    • Marek Vasut's avatar
      serial: bfin: Remove the bfin_serialN_device exports from serial.h · c513d7e5
      Marek Vasut authored
      
      
      Remove the exports from serial.h as they are only used in the blackfin
      serial driver. Furthermore, they are only used for registration, which
      is handled already inside that driver and default_serial_port() call,
      which is also handled in that driver.
      Signed-off-by: Marek Vasut's avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Mike Frysinger <vapier@gentoo.org>
      c513d7e5
    • Marek Vasut's avatar
      serial: ns16550: Move serial registration from serial_initialize() · abc0ed8d
      Marek Vasut authored
      
      
      Move the registration of eserialN_device ports from default
      serial_initialize() into driver specific function called from
      serial_initialize(). This slims down the serial_initialize() call
      to a bare tracker of all possible serial port registration routines
      in U-Boot.
      
      The newly implemented ns16550_serial_initialize() function, which is
      implemented inside of the ns16550 serial driver allows encapsulation
      of eserialN_device within the ns16550 serial driver itself.
      
      Also, remove the exports of eserialN_device from include/serial.h
      as they are no longer needed. This is simply because the implementation of
      default_serial_console() is wrapped into the ns16550 serial driver and
      the default console is picked by CONFIG_SERIAL<N> macro in config file.
      Signed-off-by: Marek Vasut's avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Anatolij Gustschin <agust@denx.de>
      Cc: Stefan Roese <sr@denx.de>
      Cc: Mike Frysinger <vapier@gentoo.org>
      Cc: Michal Simek <monstr@monstr.eu>
      abc0ed8d