1. 10 Jan, 2013 1 commit
    • Javier Martinez Canillas's avatar
      serial/ns16550: add an option to avoid hanging on broken platforms · 7de0fe1a
      Javier Martinez Canillas authored
      
      
      Some platforms (e.g. IGEPv2 board) has a broken ns16550 UART that
      does not set the TEMT bit when the transmitter is empty in SPL.
      This makes U-Boot to hang while waiting for TEMT to be set.
      
      Add a new option to avoid this:
      
      CONFIG_SYS_NS16550_BROKEN_TEMT
      
      16550 UART set the Transmitter Empty (TEMT) Bit when all output
      has finished and the transmitter is totally empty. U-Boot waits
      for this bit to be set to initialize the serial console. On some
      broken platforms this bit is not set in SPL making U-Boot to
      hang while waiting for TEMT. Define this option to avoid it.
      Signed-off-by: default avatarJavier Martinez Canillas <javier.martinez@collabora.co.uk>
      7de0fe1a
  2. 13 Dec, 2012 1 commit
  3. 07 Dec, 2012 1 commit
  4. 30 Nov, 2012 1 commit
  5. 26 Nov, 2012 2 commits
    • Scott Wood's avatar
      serial/ns16550: wait for TEMT before initializing · cb55b332
      Scott Wood authored
      
      
      TEMT is set when the transmitter is totally empty and all output has
      finished.
      
      This prevents output problems (including a loss of synchronization
      observed on p2020 that persisted for quite a while) if SPL has output
      still on its way out.
      Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
      --
      v2: fixed typo in subject, and explained what the bit does in the changelog
      cb55b332
    • Scott Wood's avatar
      serial/ns16550: don't build serial_ns16550 with MIN_FUNCTIONS · 48cbc3a8
      Scott Wood authored
      
      
      CONFIG_NS16550_MIN_FUNCTIONS is used by small SPLs to gain access to basic
      ns16550 output code without pulling in things not needed by the SPL.
      
      This previously only worked with non-MULTI configs.  Recently MULTI was
      made mandatory, and MIN_FUNCTIONS fails like this:
      
      drivers/serial/libserial.o: In function `calc_divisor.clone.0':
      serial_ns16550.c:(.text.calc_divisor.clone.0+0x24): undefined reference to `get_bus_freq'
      drivers/serial/libserial.o: In function `_serial_getc':
      (.text._serial_getc+0x30): undefined reference to `NS16550_getc'
      drivers/serial/libserial.o: In function `_serial_tstc':
      (.text._serial_tstc+0x30): undefined reference to `NS16550_tstc'
      drivers/serial/libserial.o: In function `_serial_setbrg':
      (.text._serial_setbrg+0x3c): undefined reference to `NS16550_reinit'
      make[1]: *** [/tmp/u-boot/spl/u-boot-spl] Error 1
      make: *** [/tmp/u-boot/spl/u-boot-spl.bin] Error 2
      
      With MIN_FUNCTIONS we don't need anything from this file, so don't build
      it.  The conditional needs to be in the file itself rather than the
      makefile, because the config symbols are only imported to the makefiles
      once, not separately for the SPL phase of the build.
      Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
      48cbc3a8
  6. 15 Nov, 2012 1 commit
    • Minkyu Kang's avatar
      s3c64xx: fix the compiler error and warning · a6f17307
      Minkyu Kang authored
      
      
      This patch is fixing the following errors
      
      s3c64xx.c:175: error: variable 's3c64xx_serial_drv' has initializer but incomplete type
      s3c64xx.c:176: error: unknown field 'name' specified in initializer
      s3c64xx.c:176: warning: excess elements in struct initializer
      s3c64xx.c:176: warning: (near initialization for 's3c64xx_serial_drv')
      s3c64xx.c:177: error: unknown field 'start' specified in initializer
      s3c64xx.c:177: warning: excess elements in struct initializer
      s3c64xx.c:177: warning: (near initialization for 's3c64xx_serial_drv')
      s3c64xx.c:178: error: unknown field 'stop' specified in initializer
      s3c64xx.c:178: warning: excess elements in struct initializer
      s3c64xx.c:178: warning: (near initialization for 's3c64xx_serial_drv')
      s3c64xx.c:179: error: unknown field 'setbrg' specified in initializer
      s3c64xx.c:179: warning: excess elements in struct initializer
      s3c64xx.c:179: warning: (near initialization for 's3c64xx_serial_drv')
      s3c64xx.c:180: error: unknown field 'putc' specified in initializer
      s3c64xx.c:180: warning: excess elements in struct initializer
      s3c64xx.c:180: warning: (near initialization for 's3c64xx_serial_drv')
      s3c64xx.c:181: error: unknown field 'puts' specified in initializer
      s3c64xx.c:181: warning: excess elements in struct initializer
      s3c64xx.c:181: warning: (near initialization for 's3c64xx_serial_drv')
      s3c64xx.c:182: error: unknown field 'getc' specified in initializer
      s3c64xx.c:182: warning: excess elements in struct initializer
      s3c64xx.c:182: warning: (near initialization for 's3c64xx_serial_drv')
      s3c64xx.c:183: error: unknown field 'tstc' specified in initializer
      s3c64xx.c:183: warning: excess elements in struct initializer
      s3c64xx.c:183: warning: (near initialization for 's3c64xx_serial_drv')
      s3c64xx.c: In function 's3c64xx_serial_initialize':
      s3c64xx.c:188: warning: implicit declaration of function 'serial_register'
      s3c64xx.c: At top level:
      s3c64xx.c:191: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'struct'
      Signed-off-by: Minkyu Kang's avatarMinkyu Kang <mk7.kang@samsung.com>
      Acked-by: Marek Vasut's avatarMarek Vasut <marex@denx.de>
      a6f17307
  7. 04 Nov, 2012 2 commits
    • Kim Phillips's avatar
      ac63f2a2
    • Kim Phillips's avatar
      include/linux/byteorder: import latest endian definitions from linux · eef1cf2d
      Kim Phillips authored
      
      
      u-boot's byteorder headers did not contain endianness attributions
      for use with sparse, causing a lot of false positives.  Import the
      kernel's latest definitions, and enable them by including compiler.h
      and types.h.  They come with 'const' added for some swab functions, so
      fix those up, too:
      
      include/linux/byteorder/big_endian.h:46:2: warning: passing argument 1 of '__swab64p' discards 'const' qualifier from pointer target type [enabled by default]
      
      Also, note: u-boot's historic __BYTE_ORDER definition has been
      preserved (for the time being at least).
      
      We also remove ad-hoc barrier() definitions, since we're including
      compiler.h in files that hadn't in the past:
      
      macb.c:54:0: warning: "barrier" redefined [enabled by default]
      
      In addition, including compiler.h in byteorder changes the 'noinline'
      definition to expand to __attribute__((noinline)).  This fixes
      arch/powerpc/lib/bootm.c:
      
      bootm.c:329:16: error: attribute '__attribute__': unknown attribute
      bootm.c:329:16: error: expected ')' before '__attribute__'
      bootm.c:329:25: error: expected identifier or '(' before ')' token
      
      powerpc sparse builds yield:
      
      include/common.h:356:22: error: marked inline, but without a definition
      
      the unknown-reason inlining without a definition is considered obsolete
      given it was part of the 2002 initial commit, and no arm version was
      'fixed.'
      
      also fixed:
      ydirectenv.h:60:0: warning: "inline" redefined [enabled by default]
      
      and:
      
      Configuring for devconcenter - Board: intip, Options: DEVCONCENTER
      make[1]: *** [4xx_ibm_ddr2_autocalib.o] Error 1
      make: *** [arch/powerpc/cpu/ppc4xx/libppc4xx.o] Error 2
      powerpc-fsl-linux-size: './u-boot': No such file
      4xx_ibm_ddr2_autocalib.c: In function 'DQS_autocalibration':
      include/asm/ppc4xx-sdram.h:1407:13: sorry, unimplemented: inlining failed in call to 'ppc4xx_ibm_ddr2_register_dump': function body not available
      4xx_ibm_ddr2_autocalib.c:1243:32: sorry, unimplemented: called from here
      
      and:
      
      In file included from crc32.c:50:0:
      crc32table.h:4:1: warning: implicit declaration of function '___constant_swab32' [-Wimplicit-function-declaration]
      crc32table.h:4:1: error: initializer element is not constant
      crc32table.h:4:1: error: (near initialization for 'crc32table_le[0]')
      Signed-off-by: default avatarKim Phillips <kim.phillips@freescale.com>
      [trini: Remove '#endif' in include/common.h around setenv portion]
      Signed-off-by: default avatarTom Rini <trini@ti.com>
      eef1cf2d
  8. 26 Oct, 2012 4 commits
  9. 25 Oct, 2012 2 commits
    • Andrew Bradford's avatar
      serial: ns16550: Enable COM5 and COM6 · 96708a06
      Andrew Bradford authored
      
      
      Increase the possible number of ns16550 serial devices from 4 to 6.
      Signed-off-by: default avatarAndrew Bradford <andrew@bradfordembedded.com>
      96708a06
    • Kim Phillips's avatar
      drivers/serial/serial_ns16550.c: sparse fixes · d07e7f9b
      Kim Phillips authored
      
      
      serial_ns16550.c:222:1: warning: symbol 'eserial1_init' was not declared. Should it be static?
      serial_ns16550.c:222:1: warning: symbol 'eserial1_setbrg' was not declared. Should it be static?
      serial_ns16550.c:222:1: warning: symbol 'eserial1_getc' was not declared. Should it be static?
      serial_ns16550.c:222:1: warning: symbol 'eserial1_tstc' was not declared. Should it be static?
      serial_ns16550.c:222:1: warning: symbol 'eserial1_putc' was not declared. Should it be static?
      serial_ns16550.c:222:1: warning: symbol 'eserial1_puts' was not declared. Should it be static?
      serial_ns16550.c:225:1: warning: symbol 'eserial2_init' was not declared. Should it be static?
      serial_ns16550.c:225:1: warning: symbol 'eserial2_setbrg' was not declared. Should it be static?
      serial_ns16550.c:225:1: warning: symbol 'eserial2_getc' was not declared. Should it be static?
      serial_ns16550.c:225:1: warning: symbol 'eserial2_tstc' was not declared. Should it be static?
      serial_ns16550.c:225:1: warning: symbol 'eserial2_putc' was not declared. Should it be static?
      serial_ns16550.c:225:1: warning: symbol 'eserial2_puts' was not declared. Should it be static?
      serial_ns16550.c:228:1: warning: symbol 'eserial3_init' was not declared. Should it be static?
      serial_ns16550.c:228:1: warning: symbol 'eserial3_setbrg' was not declared. Should it be static?
      serial_ns16550.c:228:1: warning: symbol 'eserial3_getc' was not declared. Should it be static?
      serial_ns16550.c:228:1: warning: symbol 'eserial3_tstc' was not declared. Should it be static?
      serial_ns16550.c:228:1: warning: symbol 'eserial3_putc' was not declared. Should it be static?
      serial_ns16550.c:228:1: warning: symbol 'eserial3_puts' was not declared. Should it be static?
      serial_ns16550.c:231:1: warning: symbol 'eserial4_init' was not declared. Should it be static?
      serial_ns16550.c:231:1: warning: symbol 'eserial4_setbrg' was not declared. Should it be static?
      serial_ns16550.c:231:1: warning: symbol 'eserial4_getc' was not declared. Should it be static?
      serial_ns16550.c:231:1: warning: symbol 'eserial4_tstc' was not declared. Should it be static?
      serial_ns16550.c:231:1: warning: symbol 'eserial4_putc' was not declared. Should it be static?
      serial_ns16550.c:231:1: warning: symbol 'eserial4_puts' was not declared. Should it be static?
      Signed-off-by: default avatarKim Phillips <kim.phillips@freescale.com>
      d07e7f9b
  10. 19 Oct, 2012 1 commit
  11. 17 Oct, 2012 5 commits
    • Marek Vasut's avatar
      kerneldoc: Annotate drivers/serial/serial.c · 9cd2b9e4
      Marek Vasut authored
      
      
      Add kerneldoc annotations into serial core.
      Signed-off-by: Marek Vasut's avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      9cd2b9e4
    • Marek Vasut's avatar
      serial: Reorder get_current() · dee19416
      Marek Vasut authored
      
      
      Reorder the get_current() function to make it a bit more readable.
      The code does not grow and there is minor change in the code logic,
      where dev != NULL is now checked in any case.
      Signed-off-by: Marek Vasut's avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      dee19416
    • Marek Vasut's avatar
      serial: Reorder serial_assign() · 6d93e258
      Marek Vasut authored
      
      
      Reorder serial_assign() function to get rid of the extra level of
      indentation. Also, adjust the return value to be -EINVAL instead of
      positive one to be more consistent.
      Signed-off-by: Marek Vasut's avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      6d93e258
    • Marek Vasut's avatar
      serial: Use default_serial_puts() in drivers · ec3fd689
      Marek Vasut authored
      
      
      Replace the in-place ad-hoc implementation of serial_puts() within
      the drivers with default_serial_puts() call. This cuts down on the
      code duplication quite a bit.
      Signed-off-by: Marek Vasut's avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      ec3fd689
    • 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
  12. 16 Oct, 2012 1 commit
  13. 15 Oct, 2012 18 commits
    • Marek Vasut's avatar
      serial: Enhance the manual relocation · f2760c4a
      Marek Vasut authored
      
      
      Enhance the manual relocation of drivers operations structure by
      checking if the entries are NULL and increment them only if they
      are not. This allows for setting any entry to NULL and it will
      survive the manual relocation.
      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>
      f2760c4a
    • Marek Vasut's avatar
      serial: Compile drivers/serial/serial.c by default · c1f5805a
      Marek Vasut authored
      
      
      Compile drivers/serial/serial.c by default both into SPL and into
      non-SPL builds, since CONFIG_SERIAL_MULTI is now the default state.
      Also having common/serial.c in by default now, it's pointless to keep
      -DCONFIG_SERIAL_MULTI in CPPFLAGS any longer, so remove it as well.
      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>
      c1f5805a
    • Marek Vasut's avatar
      serial: Remove CONFIG_SERIAL_MULTI from serial drivers · a3827250
      Marek Vasut authored
      
      
      Remove the support for not-CONFIG_SERIAL_MULTI part from serial
      port drivers and some board files. Since CONFIG_SERIAL_MULTI is
      now enabled by default, that part is a dead code. Remove it.
      Signed-off-by: Marek Vasut's avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Anatolij Gustschin <agust@denx.de>
      Cc: Stefan Roese <sr@denx.de>
      Signed-off-by: default avatarTom Rini <trini@ti.com>
      a3827250
    • Marek Vasut's avatar
      serial: Unconditionally enable CONFIG_SERIAL_MULTI · 82dda962
      Marek Vasut authored
      
      
      Enable CONFIG_SERIAL_MULTI for all builds of U-Boot. That includes
      both SPL builds and non-SPL builds, everything. To avoid poluting
      this patch with removal of ifdef-endif constructions containing
      CONFIG_SERIAL_MULTI, the CONFIG_SERIAL_MULTI is temporarily added
      into CPPFLAGS in config.mk . This will be again removed in following
      patch.
      Signed-off-by: Marek Vasut's avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      82dda962
    • Marek Vasut's avatar
      serial: Move common/serial.c to drivers/serial/ · 7742aa65
      Marek Vasut authored
      
      
      Move the common/serial.c into driver/serial/, since this file
      provides serial multiplexing functions and it is imperative to
      be linked with libserial.o instead of libcommon.o.
      Signed-off-by: Marek Vasut's avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      7742aa65
    • Marek Vasut's avatar
      serial: ns16550: Rename serial.c to serial_ns16550.c · 19b8fa0b
      Marek Vasut authored
      
      
      This serial driver had wrong name of the source file for some time
      now. The name of the driver was serial.c instead of any more logical
      and fitting name. Thus, rename the driver source file to serial_ns16550.c
      and be done with 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>
      Cc: Anatolij Gustschin <agust@denx.de>
      Cc: Stefan Roese <sr@denx.de>
      Cc: Mike Frysinger <vapier@gentoo.org>
      Cc: Michal Simek <monstr@monstr.eu>
      19b8fa0b
    • Marek Vasut's avatar
      serial: ns16550: Call usbtty_poll only in non-SPL build · f2041388
      Marek Vasut authored
      
      
      Having both USBTTY and CONFIG_SERIAL_MULTI enabled in SPL, the
      usbtty.c file is protected in Makefile to not be compiled into
      the SPL. Yet, the ns16550 serial driver does not contain such
      protection. Add it to avoid missing symbol error.
      Signed-off-by: Marek Vasut's avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      f2041388
    • Marek Vasut's avatar
      serial: sh: Implement CONFIG_SERIAL_MULTI into sh serial driver · 8bdd7efa
      Marek Vasut authored
      
      
      Implement support for CONFIG_SERIAL_MULTI into sh serial driver.
      This driver was so far only usable directly, but this patch also adds
      support for the multi method. This allows using more than one serial
      driver alongside the sh driver. Also, add a weak implementation
      of default_serial_console() returning this driver.
      Signed-off-by: Marek Vasut's avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Phil Edworthy <PHIL.EDWORTHY@renesas.com>
      Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
      Signed-off-by: default avatarTom Rini <trini@ti.com>
      8bdd7efa
    • Marek Vasut's avatar
      serial: arm: Implement CONFIG_SERIAL_MULTI into sa1100 serial driver · a30a4220
      Marek Vasut authored
      
      
      Implement support for CONFIG_SERIAL_MULTI into sa1100 serial driver.
      This driver was so far only usable directly, but this patch also adds
      support for the multi method. This allows using more than one serial
      driver alongside the sa1100 driver. Also, add a weak implementation
      of default_serial_console() returning this 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>
      a30a4220
    • Marek Vasut's avatar
      serial: arm: Implement CONFIG_SERIAL_MULTI into s3c44b0 serial driver · eb507669
      Marek Vasut authored
      
      
      Implement support for CONFIG_SERIAL_MULTI into s3c44b0 serial driver.
      This driver was so far only usable directly, but this patch also adds
      support for the multi method. This allows using more than one serial
      driver alongside the s3c44b0 driver. Also, add a weak implementation
      of default_serial_console() returning this 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>
      eb507669
    • Marek Vasut's avatar
      serial: arm: Implement CONFIG_SERIAL_MULTI into pl01x serial driver · 39f61477
      Marek Vasut authored
      
      
      Implement support for CONFIG_SERIAL_MULTI into pl01x serial driver.
      This driver was so far only usable directly, but this patch also adds
      support for the multi method. This allows using more than one serial
      driver alongside the pl01x driver. Also, add a weak implementation
      of default_serial_console() returning this 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: Stefano Babic <sbabic@denx.de>
      Cc: Mathieu J. Poirier <mathieu.poirier@linaro.org>
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Cc: John Rigby <john.rigby@linaro.org>
      Cc: Rabin Vincent <rabin.vincent@stericsson.com>
      39f61477
    • Marek Vasut's avatar
      serial: arm: Implement CONFIG_SERIAL_MULTI into netarm serial driver · 0dd9b849
      Marek Vasut authored
      
      
      Implement support for CONFIG_SERIAL_MULTI into netarm serial driver.
      This driver was so far only usable directly, but this patch also adds
      support for the multi method. This allows using more than one serial
      driver alongside the netarm driver. Also, add a weak implementation
      of default_serial_console() returning this 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: Stefano Babic <sbabic@denx.de>
      0dd9b849
    • Marek Vasut's avatar
      serial: arm: Implement CONFIG_SERIAL_MULTI into mxc serial driver · a943472c
      Marek Vasut authored
      
      
      Implement support for CONFIG_SERIAL_MULTI into mxc serial driver.
      This driver was so far only usable directly, but this patch also adds
      support for the multi method. This allows using more than one serial
      driver alongside the mxc driver. Also, add a weak implementation
      of default_serial_console() returning this 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: Stefano Babic <sbabic@denx.de>
      a943472c
    • Marek Vasut's avatar
      serial: Implement CONFIG_SERIAL_MULTI into max3100 serial driver · 7cd851a5
      Marek Vasut authored
      
      
      Implement support for CONFIG_SERIAL_MULTI into max3100 serial driver.
      This driver was so far only usable directly, but this patch also adds
      support for the multi method. This allows using more than one serial
      driver alongside the max3100 driver. Also, add a weak implementation
      of default_serial_console() returning this 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>
      7cd851a5
    • Marek Vasut's avatar
      serial: arm: Implement CONFIG_SERIAL_MULTI into lpc2292 serial driver · 21310b57
      Marek Vasut authored
      
      
      Implement support for CONFIG_SERIAL_MULTI into lpc2292 serial driver.
      This driver was so far only usable directly, but this patch also adds
      support for the multi method. This allows using more than one serial
      driver alongside the lpc2292 driver. Also, add a weak implementation
      of default_serial_console() returning this 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>
      21310b57
    • Marek Vasut's avatar
      serial: arm: Implement CONFIG_SERIAL_MULTI into lh7a40x serial driver · 1f673b4f
      Marek Vasut authored
      
      
      Implement support for CONFIG_SERIAL_MULTI into lh7a40x serial driver.
      This driver was so far only usable directly, but this patch also adds
      support for the multi method. This allows using more than one serial
      driver alongside the lh7a40x driver. Also, add a weak implementation
      of default_serial_console() returning this 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>
      1f673b4f
    • Marek Vasut's avatar
      serial: arm: Implement CONFIG_SERIAL_MULTI into ks8695 serial driver · a7ffb2fc
      Marek Vasut authored
      
      
      Implement support for CONFIG_SERIAL_MULTI into ks8695 serial driver.
      This driver was so far only usable directly, but this patch also adds
      support for the multi method. This allows using more than one serial
      driver alongside the ks8695 driver. Also, add a weak implementation
      of default_serial_console() returning this 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>
      a7ffb2fc
    • Marek Vasut's avatar
      serial: arm: Implement CONFIG_SERIAL_MULTI into ixp serial driver · b6cd0fef
      Marek Vasut authored
      
      
      Implement support for CONFIG_SERIAL_MULTI into ixp serial driver.
      This driver was so far only usable directly, but this patch also adds
      support for the multi method. This allows using more than one serial
      driver alongside the ixp driver. Also, add a weak implementation
      of default_serial_console() returning this 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: Michael Schwingen <michael@schwingen.org>
      b6cd0fef