1. 06 12月, 2011 2 次提交
  2. 10 10月, 2011 1 次提交
  3. 02 10月, 2011 1 次提交
  4. 26 7月, 2011 3 次提交
    • M
      serial: implement common uart post test · 7b826c2f
      Mike Frysinger 提交于
      The current arch/driver specific UART posts basically boil down to setting
      the UART to loop back mode, then reading and writing data.  If we ignore
      the loop back part, the rest can be built upon the existing common serial
      API.  So let's do just that.
      
      First add a call back for serial drivers to implement loop back control.
      Then write a post test that walks all of the serial drivers, puts them
      into loop back mode, and verifies that reading/writing at all the diff
      baud rates is OK.
      
      If a serial driver doesn't support loop back mode (either it can't or
      it hasn't done so yet), then skip it.  This should allow for people to
      easily migrate to the new post test with existing serial drivers.
      
      I haven't touched the few already existing uart post tests as I don't
      the hardware or knowledge of converting them over.  So I've marked the
      new test as weak which will allow the existing tests to override the
      default until they are converted.
      Signed-off-by: NMike Frysinger <vapier@gentoo.org>
      7b826c2f
    • M
      serial: drop serial_register return value · c52b4f79
      Mike Frysinger 提交于
      The serial_register function never fails (always return 0), so change it
      to a void function to avoid wasting overhead on it.
      Signed-off-by: NMike Frysinger <vapier@gentoo.org>
      c52b4f79
    • M
      serial: push default_serial_console to drivers · 6c768ca7
      Mike Frysinger 提交于
      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: NMike 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: NMinkyu Kang <mk7.kang@samsung.com>
      6c768ca7
  5. 12 7月, 2011 1 次提交
  6. 21 2月, 2011 1 次提交
  7. 30 10月, 2010 1 次提交
  8. 20 10月, 2010 1 次提交
  9. 07 10月, 2010 1 次提交
    • S
      serial.c: Fix build breakage introduced with commit e3c78c9b · e64901c0
      Stefan Roese 提交于
      This patch fixes the compilation problem introduced with commit
      e3c78c9b [ppc4xx: Remove now unused CONFIG_UART1_CONSOLE]:
      
      -> ./MAKEALL TB5200
      Configuring for TB5200 board...
      serial.c: In function '__default_serial_console':
      serial.c:94: warning: no return statement in function returning non-void
      
      I accidentally removed an "#else" line. This patch adds it back.
      Signed-off-by: NStefan Roese <sr@denx.de>
      e64901c0
  10. 23 9月, 2010 2 次提交
    • S
      ppc4xx: Remove now unused CONFIG_UART1_CONSOLE · e3c78c9b
      Stefan Roese 提交于
      CONFIG_UART1_CONSOLE was a PPC4xx specific implementation and is now
      removed since the move from the 4xx UART driver to the common NS16550
      UART driver. Let's remove all references to this define now.
      Signed-off-by: NStefan Roese <sr@denx.de>
      e3c78c9b
    • S
      ppc4xx: Use common NS16550 driver for PPC4xx UART · 550650dd
      Stefan Roese 提交于
      This patch removes the PPC4xx UART driver. Instead the common NS16550
      driver is used, since all PPC4xx SoC's use this peripheral device.
      
      The file 4xx_uart.c now only implements the UART clock calculation
      function which also sets the SoC internal UART divisors.
      
      All PPC4xx board config headers are changed to use this common NS16550
      driver now.
      
      Tested on these boards:
      acadia, canyonlands, katmai, kilauea, sequoia, zeus
      Signed-off-by: NStefan Roese <sr@denx.de>
      550650dd
  11. 26 8月, 2010 1 次提交
  12. 11 8月, 2010 1 次提交
  13. 06 5月, 2010 1 次提交
  14. 30 4月, 2010 1 次提交
  15. 25 4月, 2010 1 次提交
    • A
      mpc512x: add multi serial PSC support · e3b28e67
      Anatolij Gustschin 提交于
      Extend mpc512x serial driver to support multiple PSC ports.
      
      Subsequent patches for PDM360NG board support make use of this
      functionality by defining CONFIG_SERIAL_MULTI in the board config
      file. Additionally the used PSC devices are specified by defining
      e.g. CONFIG_SYS_PSC1, CONFIG_SYS_PSC4 and CONFIG_SYS_PSC6.
      
      Support for PSC devices other than 1, 3, 4 and 6 is not added
      by this patch because these aren't used currently. In the future
      it can be easily added using DECLARE_PSC_SERIAL_FUNCTIONS(N) and
      INIT_PSC_SERIAL_STRUCTURE(N) macros in cpu/mpc512x/serial.c.
      Additionally you have to add code for registering added
      devices in serial_initialize() in common/serial.c.
      Signed-off-by: NAnatolij Gustschin <agust@denx.de>
      e3b28e67
  16. 18 4月, 2010 1 次提交
  17. 26 3月, 2010 1 次提交
  18. 14 10月, 2009 1 次提交
  19. 09 10月, 2009 1 次提交
  20. 03 10月, 2009 1 次提交
  21. 18 7月, 2009 1 次提交
    • J
      stdio/device: rework function naming convention · 52cb4d4f
      Jean-Christophe PLAGNIOL-VILLARD 提交于
      So far the console API uses the following naming convention:
      
      	======Extract======
      	typedef struct device_t;
      
      	int	device_register (device_t * dev);
      	int	devices_init (void);
      	int	device_deregister(char *devname);
      	struct list_head* device_get_list(void);
      	device_t* device_get_by_name(char* name);
      	device_t* device_clone(device_t *dev);
      	=======
      
      which is too generic and confusing.
      
      Instead of using device_XX and device_t we change this
      into stdio_XX and stdio_dev
      
      This will also allow to add later a generic device mechanism in order
      to have support for multiple devices and driver instances.
      Signed-off-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
      
      Edited commit message.
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      52cb4d4f
  22. 02 7月, 2009 1 次提交
  23. 13 6月, 2009 1 次提交
    • T
      ZOOM2 Add serial support. · 660888b7
      Tom Rix 提交于
      Zoom2 serial is in general supplied by one of the 4 UARTS on the debug board.
      The default serial is from the USB connector on left side of the debug board.
      The USB connector will produce 2 of the 4 UARTS.  On your host pick the first
      enumeration.
      
      The details of the setting of the serial gpmc setup are not available.
      The values were provided by another party.
      
      The serial port set up is the same with Zoom1.
      Baud rate 115200, 8 bit data, no parity, 1 stop bit, no flow.
      
      The kernel bootargs are
      console=ttyS3,115200n8
      Signed-off-by: NTom Rix <Tom.Rix@windriver.com>
      660888b7
  24. 12 2月, 2009 1 次提交
  25. 19 10月, 2008 1 次提交
  26. 05 2月, 2008 1 次提交
  27. 09 1月, 2008 1 次提交
  28. 01 11月, 2007 1 次提交
  29. 07 9月, 2007 1 次提交
  30. 24 3月, 2007 1 次提交
  31. 31 8月, 2006 1 次提交
  32. 30 6月, 2006 1 次提交
  33. 16 6月, 2006 1 次提交
    • W
      Add support for CONFIG_SERIAL_MULTI on MPC5xxx · c12cffc5
      Wolfgang Denk 提交于
      Patch by Martin Krause, 8 Jun 2006
      
      This patch supports two serial consoles on boards with
      a MPC5xxx CPU. The console can be switched at runtime
      by setting stdin, stdout and stderr to the desired serial
      interface (serial0 or serial1). The PSCs to be used as
      console port are definded by CONFIG_PSC_CONSOLE
      and CONFIG_PSC_CONSOLE2.
      See README.serial_multi for details.
      c12cffc5
  34. 01 4月, 2006 1 次提交
  35. 10 1月, 2005 1 次提交
    • W
      * Patch by Leif Lindholm, 23 Sep 2004: · ff36fd85
      wdenk 提交于
        add support for the AMD db1550 board
      
      * Patch by Travis Sawyer, 15 Sep 2004:
        Add CONFIG_SERIAL_MULTI support for ppc4xx,
        update README.serial_multi
      ff36fd85
  36. 12 10月, 2004 1 次提交
    • W
      Cleanup · 8b74bf31
      wdenk 提交于
      8b74bf31