Skip to content
Snippets Groups Projects
  1. Aug 22, 2011
  2. Jul 26, 2011
    • Mike Frysinger's avatar
      serial: drop useless ctlr field · 1c9a5606
      Mike Frysinger authored
      
      The multi serial support has a "ctlr" field which almost no one uses,
      but everyone is forced to set to useless strings.  So punt it.
      
      Funny enough, the only code that actually reads this field (the mpc8xx
      driver) has a typo where it meant to look for the SCC driver.  Fix it
      while converting the check to use the name field.
      
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      CC: Heiko Schocher <hs@denx.de>
      CC: Anatolij Gustschin <agust@denx.de>
      CC: Tom Rix <Tom.Rix@windriver.com>
      CC: Minkyu Kang <mk7.kang@samsung.com>
      CC: Craig Nauman <cnauman@diagraph.com>
      CC: Marek Vasut <marek.vasut@gmail.com>
      CC: Prafulla Wadaskar <prafulla@marvell.com>
      CC: Mahavir Jain <mjain@marvell.com>
      1c9a5606
    • Mike Frysinger's avatar
      serial: push default_serial_console to drivers · 6c768ca7
      Mike Frysinger authored
      
      Rather than sticking arch/board/driver specific logic in the common
      serial code, push it all out to the respective drivers.  The serial
      drivers declare these funcs weak so that boards can still override
      things with their own definition.
      
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      CC: Heiko Schocher <hs@denx.de>
      CC: Anatolij Gustschin <agust@denx.de>
      CC: Tom Rix <Tom.Rix@windriver.com>
      CC: Minkyu Kang <mk7.kang@samsung.com>
      CC: Craig Nauman <cnauman@diagraph.com>
      CC: Prafulla Wadaskar <prafulla@marvell.com>
      CC: Mahavir Jain <mjain@marvell.com>
      Tested-by: default avatarMinkyu Kang <mk7.kang@samsung.com>
      6c768ca7
    • Aneesh V's avatar
      scaled down version of generic libraries for SPL · 05bad4aa
      Aneesh V authored
      
      Signed-off-by: default avatarAneesh V <aneesh@ti.com>
      05bad4aa
  3. Jul 04, 2011
  4. Jun 23, 2011
  5. Jun 22, 2011
  6. May 18, 2011
  7. May 12, 2011
    • John Rigby's avatar
      Serial: p1011: new vendor init options · 910f1ae3
      John Rigby authored
      
      Two new options:
      
      CONFIG_PL011_SERIAL_RLCR
      
      Some vendor versions of PL011 serial ports (e.g. ST-Ericsson U8500)
      have separate receive and transmit line control registers.  Set
      this variable to initialize the extra register.
      
      CONFIG_PL011_SERIAL_FLUSH_ON_INIT
      
      On some platforms (e.g. U8500) U-Boot is loaded by a second stage
      boot loader that has already initialized the UART.  Define this
      variable to flush the UART at init time.
      empty fifo on init
      
      Signed-off-by: default avatarJohn Rigby <john.rigby@linaro.org>
      Signed-off-by: default avatarRabin Vincent <rabin.vincent@stericsson.com>
      910f1ae3
  8. Apr 27, 2011
  9. Feb 21, 2011
  10. Feb 01, 2011
  11. Jan 11, 2011
  12. Dec 21, 2010
  13. Dec 16, 2010
  14. Dec 09, 2010
  15. Nov 30, 2010
  16. Nov 17, 2010
    • Sebastien Carlier's avatar
      Switch from archive libraries to partial linking · 6d8962e8
      Sebastien Carlier authored
      
      Before this commit, weak symbols were not overridden by non-weak symbols
      found in archive libraries when linking with recent versions of
      binutils.  As stated in the System V ABI, "the link editor does not
      extract archive members to resolve undefined weak symbols".
      
      This commit changes all Makefiles to use partial linking (ld -r) instead
      of creating library archives, which forces all symbols to participate in
      linking, allowing non-weak symbols to override weak symbols as intended.
      This approach is also used by Linux, from which the gmake function
      cmd_link_o_target (defined in config.mk and used in all Makefiles) is
      inspired.
      
      The name of each former library archive is preserved except for
      extensions which change from ".a" to ".o".  This commit updates
      references accordingly where needed, in particular in some linker
      scripts.
      
      This commit reveals board configurations that exclude some features but
      include source files that depend these disabled features in the build,
      resulting in undefined symbols.  Known such cases include:
      - disabling CMD_NET but not CMD_NFS;
      - enabling CONFIG_OF_LIBFDT but not CONFIG_QE.
      
      Signed-off-by: default avatarSebastien Carlier <sebastien.carlier@gmail.com>
      6d8962e8
  17. Oct 28, 2010
  18. Oct 27, 2010
  19. Oct 19, 2010
  20. Oct 13, 2010
    • Stefan Roese's avatar
      ns16550: Add WATCHDOG_RESET to putc for short watchdog timeout boards · 1a2d9b30
      Stefan Roese authored
      
      Call watchdog_reset() upon newline. This is done here in putc
      since the environment code uses a single puts() to print the complete
      envrironment upon "printenv". So we can't put this watchdog call
      in puts().
      
      This is needed for boards with a very short watchdog timeout, like the
      lwmon5 with a 100ms timeout. Without this patch this board resets in the
      commands with long outputs, like "printenv" or "fdt print".
      
      Note that the image size is not increased with this patch when
      CONFIG_HW_WATCHDOG or CONFIG_WATCHDOG are not defined since the compiler
      optimizes this additional code away.
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      
      Fix typo in comment.
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      1a2d9b30
    • Matt Waddel's avatar
      ARMV7: Fixed baudrate setting in pl01x driver · 249d5219
      Matt Waddel authored
      
      The pl01x serial driver was lacking the code to switch baudrates from the
      command line.  Fixed by simply saving the new baudrate and calling
      serial_init() again.  Also fixed CamelCase variables, I/O accessors and
      comment style.
      
      Signed-off-by: default avatarMatt Waddel <matt.waddel@linaro.org>
      249d5219
  21. Oct 05, 2010
  22. Sep 29, 2010
  23. Sep 23, 2010
  24. Aug 30, 2010
  25. Aug 26, 2010
  26. Aug 17, 2010
  27. Jul 09, 2010
  28. Jun 17, 2010
  29. May 26, 2010
  30. May 05, 2010
    • Graeme Russ's avatar
      SERIAL: Enable port-mapped access · 167cdad1
      Graeme Russ authored
      
      The x86 architecture exclusively uses Port-Mapped I/O (inb/outb) to access
      the 16550 UARTs. This patch mimics how Linux selects between Memory-Mapped
      and Port-Mapped I/O. This allows x86 boards to use CONFIG_SERIAL_MUTLI and
      drop the custom serial port driver
      
      Signed-off-by: default avatarGraeme Russ <graeme.russ@gmail.com>
      167cdad1
Loading