1. 15 Oct, 2012 40 commits
    • Lucas Stach's avatar
      usb: add support for multiple usb controllers · 93c2582f
      Lucas Stach authored
      
      
      Allows to initialize more than one USB controller at once.
      
      v2: print message when controller stop fails
      Signed-off-by: default avatarLucas Stach <dev@lynxeye.de>
      Reviewed-by: default avatarMarek Vasut <marex@denx.de>
      93c2582f
    • Lucas Stach's avatar
      usb: ehci: rework to take advantage of new lowlevel interface · 676ae068
      Lucas Stach authored
      
      
      Kill off ehci-core.h
      It was used to specify some static controller data. To support more than
      one controller being active at any time we have to carry the controller
      data ourselfes. Change the ehci interface accordingly.
      
      NOTE: OMAP implemented the ehci stuff a bit backwards and should be fixed
      to do the same thing as other platforms. But the change for now is at least
      compile clean.
      Signed-off-by: default avatarLucas Stach <dev@lynxeye.de>
      Reviewed-by: default avatarMarek Vasut <marex@denx.de>
      676ae068
    • Lucas Stach's avatar
      usb: lowlevel interface change to support multiple controllers · c7e3b2b5
      Lucas Stach authored
      
      
      Carry an index in the lowlevel usb functions to make specify the
      respective usb controller.
      
      Also pass through an controller struct from lowlevel_init to the
      creation of the root usb device of this controller.
      Signed-off-by: default avatarLucas Stach <dev@lynxeye.de>
      Reviewed-by: default avatarMarek Vasut <marex@denx.de>
      c7e3b2b5
    • Stefan Roese's avatar
      ppc4xx: Remove AP1000 board support · a821d08d
      Stefan Roese authored
      
      
      As the board seems to be unmaintained for some time, lets remove
      the support in mainline completely.
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: James MacAulay <james.macaulay@amirix.com>
      Acked-by: default avatarMarek Vasut <marex@denx.de>
      a821d08d
    • 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: default 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: default 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: default 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: default 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: default 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: default 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: default 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: default 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: default 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: default 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: default 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: default 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: default 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: default 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: default 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: default 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: default 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: default 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
    • Marek Vasut's avatar
      serial: arm: Implement CONFIG_SERIAL_MULTI into imx serial driver · 7882e7c1
      Marek Vasut authored
      
      
      Implement support for CONFIG_SERIAL_MULTI into imx 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 imx driver. Also, add a weak implementation
      of default_serial_console() returning this driver.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Stefano Babic <sbabic@denx.de>
      7882e7c1
    • Marek Vasut's avatar
      serial: arm: Implement CONFIG_SERIAL_MULTI into clps7111 serial driver · 8b029db8
      Marek Vasut authored
      
      
      Implement support for CONFIG_SERIAL_MULTI into clps7111 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 clps7111 driver. Also, add a weak implementation
      of default_serial_console() returning this driver.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      8b029db8
    • Marek Vasut's avatar
      serial: sandbox: Implement CONFIG_SERIAL_MULTI into sandbox serial driver · cef46b77
      Marek Vasut authored
      
      
      Implement support for CONFIG_SERIAL_MULTI into sandbox 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 sandbox driver. Also, add a weak implementation
      of default_serial_console() returning this driver.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Mike Frysinger <vapier@gentoo.org>
      cef46b77
    • Marek Vasut's avatar
      serial: arm: Implement CONFIG_SERIAL_MULTI into s3c64xx serial driver · cc61c31d
      Marek Vasut authored
      
      
      Implement support for CONFIG_SERIAL_MULTI into s3c64xx 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 s3c64xx driver. Also, add a weak implementation
      of default_serial_console() returning this driver.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: John Rigby <john.rigby@linaro.org>
      Cc: Minkyu Kang <mk7.kang@samsung.com>
      cc61c31d
    • Marek Vasut's avatar
      serial: arm: Implement CONFIG_SERIAL_MULTI into s3c4510b serial driver · 4bee0b36
      Marek Vasut authored
      
      
      Implement support for CONFIG_SERIAL_MULTI into s3c4510b 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 s3c4510b driver. Also, add a weak implementation
      of default_serial_console() returning this driver.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      4bee0b36
    • Marek Vasut's avatar
      serial: oc: Implement CONFIG_SERIAL_MULTI into OpenCores serial driver · 69ea8070
      Marek Vasut authored
      
      
      Implement support for CONFIG_SERIAL_MULTI into OpenCores 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 OpenCores driver. Also, add a weak implementation
      of default_serial_console() returning this driver.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Scott McNutt <smcnutt@psyent.com>
      69ea8070
    • Marek Vasut's avatar
      serial: Implement CONFIG_SERIAL_MULTI into ns9750 serial driver · 28ea4c34
      Marek Vasut authored
      
      
      Implement support for CONFIG_SERIAL_MULTI into ns9750 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 ns9750 driver. Also, add a weak implementation
      of default_serial_console() returning this driver.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      28ea4c34
    • Marek Vasut's avatar
      serial: mcf: Implement CONFIG_SERIAL_MULTI into MCF serial driver · abaef69f
      Marek Vasut authored
      
      
      Implement support for CONFIG_SERIAL_MULTI into MCF 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 MCF driver. Also, add a weak implementation
      of default_serial_console() returning this driver.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: TsiChung Liew <tsicliew@gmail.com>
      abaef69f
    • Marek Vasut's avatar
      serial: arm: Implement CONFIG_SERIAL_MULTI into lpc32xx serial driver · e503f90a
      Marek Vasut authored
      
      
      Implement support for CONFIG_SERIAL_MULTI into lpc32xx 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 lpc32xx driver. Also, add a weak implementation
      of default_serial_console() returning this driver.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Vladimir Zapolskiy <vz@mleia.com>
      e503f90a
    • Marek Vasut's avatar
      serial: arm: Implement CONFIG_SERIAL_MULTI into atmel serial driver · cfba4573
      Marek Vasut authored
      
      
      Implement support for CONFIG_SERIAL_MULTI into atmel 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 atmel driver. Also, add a weak implementation
      of default_serial_console() returning this driver.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Xu, Hong <Hong.Xu@atmel.com>
      cfba4573
    • Marek Vasut's avatar
      serial: arm: Implement CONFIG_SERIAL_MULTI into altera serial driver · b207d645
      Marek Vasut authored
      
      
      Implement support for CONFIG_SERIAL_MULTI into altera 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 altera driver. Also, add a weak implementation
      of default_serial_console() returning this driver.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Scott McNutt <smcnutt@psyent.com>
      b207d645
    • Marek Vasut's avatar
      serial: arm: Implement CONFIG_SERIAL_MULTI into altera_jtag serial driver · 8c085757
      Marek Vasut authored
      
      
      Implement support for CONFIG_SERIAL_MULTI into altera_jtag 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 altera_jtag driver. Also, add a weak implementation
      of default_serial_console() returning this driver.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Thomas Chou <thomas@wytron.com.tw>
      8c085757
    • 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: default 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
    • Marek Vasut's avatar
      serial: microblaze: Move serial registration from serial_initialize() · 87d69229
      Marek Vasut authored
      
      
      Move the registration of xuartlite_serialN_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 xuartlite_serial_initialize() function, which is
      implemented inside of the serial_xuartlite driver allows encapsulation
      of xuartlite_serialN_device within the serial_xuartlite driver itself.
      
      Also, remove the exports of xuartlite_serialN_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 serial_xuartlite driver and
      the default console is picked by CONFIG_SERIAL<N> macro in config file.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Michal Simek <monstr@monstr.eu>
      87d69229
    • Tom Rini's avatar
      serial: zynq: Move serial registration from serial_initialize() · 51d8102f
      Tom Rini authored
      
      
      Move the registration of zynq_serialN_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 zynq_serial_initialize() function, which is
      implemented inside of the serial_zynq driver allows encapsulation
      of zynq_serialN_device within the serial_zynq driver itself.
      
      Also, remove the exports of zynq_serialN_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 serial_zynq driver and
      the default console is picked by CONFIG_SERIAL<N> macro in config file.
      Signed-off-by: default avatarTom Rini <trini@ti.com>
      51d8102f
    • Marek Vasut's avatar
      serial: s5p: Move serial registration from serial_initialize() · b4980515
      Marek Vasut authored
      
      
      Move the registration of s5p_serialN_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 s5p_serial_initialize() function, which is
      implemented inside of the serial_s5p driver allows encapsulation
      of s5p_serialN_device within the serial_s5p driver itself.
      
      Also, remove the exports of s5p_serialN_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 serial_s5p driver and
      the default console is picked by CONFIG_SERIAL<N> macro in config file.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Minkyu Kang <mk7.kang@samsung.com>
      b4980515
    • Marek Vasut's avatar
      serial: pxa: Move serial registration from serial_initialize() · 1fe5c110
      Marek Vasut authored
      
      
      Move the registration of serial_XXuart 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 pxa_serial_initialize() function, which is
      implemented inside of the serial_pxa driver allows encapsulation
      of serial_XXuart within the serial_pxa driver itself.
      
      Also, remove the exports of serial_XXuart from include/serial.h
      as they are no longer needed. This is simply because the implementation of
      default_serial_console() is wrapped into the serial_pxa driver and
      the default console is picked by CONFIG_CONS_IDX macro in config file.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      1fe5c110
    • Marek Vasut's avatar
      serial: s3c24xx: Move serial registration from serial_initialize() · 28af6385
      Marek Vasut authored
      
      
      Move the registration of s3c24xx_serialN_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 s3c24xx_serial_initialize() function, which is
      implemented inside of the serial_s3c24xx driver allows encapsulation
      of s3c24xx_serialN_device within the serial_s3c24xx driver itself.
      
      Also, remove the exports of s3c24xx_serialN_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 serial_s3c24xx driver and
      the default console is picked by CONFIG_SERIAL<N> macro in config file.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: C Nauman <cnauman@diagraph.com>
      28af6385