1. 16 10月, 2012 40 次提交
    • M
      serial: arm: Implement CONFIG_SERIAL_MULTI into lpc2292 serial driver · 21310b57
      Marek Vasut 提交于
      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: NMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      21310b57
    • M
      serial: arm: Implement CONFIG_SERIAL_MULTI into lh7a40x serial driver · 1f673b4f
      Marek Vasut 提交于
      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: NMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      1f673b4f
    • M
      serial: arm: Implement CONFIG_SERIAL_MULTI into ks8695 serial driver · a7ffb2fc
      Marek Vasut 提交于
      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: NMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      a7ffb2fc
    • M
      serial: arm: Implement CONFIG_SERIAL_MULTI into ixp serial driver · b6cd0fef
      Marek Vasut 提交于
      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: NMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Michael Schwingen <michael@schwingen.org>
      b6cd0fef
    • M
      serial: arm: Implement CONFIG_SERIAL_MULTI into imx serial driver · 7882e7c1
      Marek Vasut 提交于
      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: NMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Stefano Babic <sbabic@denx.de>
      7882e7c1
    • M
      serial: arm: Implement CONFIG_SERIAL_MULTI into clps7111 serial driver · 8b029db8
      Marek Vasut 提交于
      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: NMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      8b029db8
    • M
      serial: sandbox: Implement CONFIG_SERIAL_MULTI into sandbox serial driver · cef46b77
      Marek Vasut 提交于
      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: NMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Mike Frysinger <vapier@gentoo.org>
      cef46b77
    • M
      serial: arm: Implement CONFIG_SERIAL_MULTI into s3c64xx serial driver · cc61c31d
      Marek Vasut 提交于
      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: NMarek 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
    • M
      serial: arm: Implement CONFIG_SERIAL_MULTI into s3c4510b serial driver · 4bee0b36
      Marek Vasut 提交于
      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: NMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      4bee0b36
    • M
      serial: oc: Implement CONFIG_SERIAL_MULTI into OpenCores serial driver · 69ea8070
      Marek Vasut 提交于
      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: NMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Scott McNutt <smcnutt@psyent.com>
      69ea8070
    • M
      serial: Implement CONFIG_SERIAL_MULTI into ns9750 serial driver · 28ea4c34
      Marek Vasut 提交于
      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: NMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      28ea4c34
    • M
      serial: mcf: Implement CONFIG_SERIAL_MULTI into MCF serial driver · abaef69f
      Marek Vasut 提交于
      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: NMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: TsiChung Liew <tsicliew@gmail.com>
      abaef69f
    • M
      serial: arm: Implement CONFIG_SERIAL_MULTI into lpc32xx serial driver · e503f90a
      Marek Vasut 提交于
      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: NMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Vladimir Zapolskiy <vz@mleia.com>
      e503f90a
    • M
      serial: arm: Implement CONFIG_SERIAL_MULTI into atmel serial driver · cfba4573
      Marek Vasut 提交于
      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: NMarek 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
    • M
      serial: arm: Implement CONFIG_SERIAL_MULTI into altera serial driver · b207d645
      Marek Vasut 提交于
      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: NMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Scott McNutt <smcnutt@psyent.com>
      b207d645
    • M
      serial: arm: Implement CONFIG_SERIAL_MULTI into altera_jtag serial driver · 8c085757
      Marek Vasut 提交于
      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: NMarek 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
    • M
      serial: powerpc: Implement CONFIG_SERIAL_MULTI into p3mx serial driver · 088a4f3c
      Marek Vasut 提交于
      Implement support for CONFIG_SERIAL_MULTI into p3mx 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 p3mx driver. Also, add a weak implementation
      of default_serial_console() returning this driver.
      Signed-off-by: NMarek 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>
      088a4f3c
    • M
      serial: powerpc: Implement CONFIG_SERIAL_MULTI into sconsole serial driver · 26d8eaaa
      Marek Vasut 提交于
      Implement support for CONFIG_SERIAL_MULTI into sconsole 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 sconsole driver. Also, add a weak implementation
      of default_serial_console() returning this driver.
      Signed-off-by: NMarek 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>
      26d8eaaa
    • M
      serial: powerpc: Implement CONFIG_SERIAL_MULTI into ml2 serial driver · d126f285
      Marek Vasut 提交于
      Implement support for CONFIG_SERIAL_MULTI into ml2 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 ml2 driver. Also, add a weak implementation
      of default_serial_console() returning this driver.
      Signed-off-by: NMarek 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>
      d126f285
    • M
      serial: powerpc: Implement CONFIG_SERIAL_MULTI into evb64260 serial driver · 829b3b2e
      Marek Vasut 提交于
      Implement support for CONFIG_SERIAL_MULTI into evb64260 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 evb64260 driver. Also, add a weak implementation
      of default_serial_console() returning this driver.
      Signed-off-by: NMarek 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>
      829b3b2e
    • M
      serial: powerpc: Implement CONFIG_SERIAL_MULTI into cpci750 serial driver · 619c90bb
      Marek Vasut 提交于
      Implement support for CONFIG_SERIAL_MULTI into cpci750 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 cpci750 driver. Also, add a weak implementation
      of default_serial_console() returning this driver.
      Signed-off-by: NMarek 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>
      619c90bb
    • M
      serial: powerpc: Implement CONFIG_SERIAL_MULTI into cogent serial driver · d25c39d3
      Marek Vasut 提交于
      Implement support for CONFIG_SERIAL_MULTI into cogent 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 cogent driver. Also, add a weak implementation
      of default_serial_console() returning this driver.
      Signed-off-by: NMarek 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>
      d25c39d3
    • M
      serial: powerpc: Implement CONFIG_SERIAL_MULTI into bmw serial driver · c45a14ad
      Marek Vasut 提交于
      Implement support for CONFIG_SERIAL_MULTI into bmw 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 bmw driver. Also, add a weak implementation
      of default_serial_console() returning this driver.
      Signed-off-by: NMarek 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>
      c45a14ad
    • M
      serial: powerpc: Implement CONFIG_SERIAL_MULTI into amirix serial driver · 5dee6f55
      Marek Vasut 提交于
      Implement support for CONFIG_SERIAL_MULTI into amirix 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 amirix driver. Also, add a weak implementation
      of default_serial_console() returning this driver.
      Signed-off-by: NMarek 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>
      5dee6f55
    • M
      serial: powerpc: Implement CONFIG_SERIAL_MULTI into marvell serial driver · afe4c389
      Marek Vasut 提交于
      Implement support for CONFIG_SERIAL_MULTI into marvell 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 marvell driver. Also, add a weak implementation
      of default_serial_console() returning this driver.
      Signed-off-by: NMarek 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>
      afe4c389
    • M
      serial: sparc: Implement CONFIG_SERIAL_MULTI into leon3 serial driver · 29b5ff7f
      Marek Vasut 提交于
      Implement support for CONFIG_SERIAL_MULTI into leon3 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 leon3 driver. Also, add a weak implementation
      of default_serial_console() returning this driver.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Peter Tyser <ptyser@xes-inc.com>
      29b5ff7f
    • M
      serial: sparc: Implement CONFIG_SERIAL_MULTI into leon2 serial driver · af7be3b6
      Marek Vasut 提交于
      Implement support for CONFIG_SERIAL_MULTI into leon2 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 leon2 driver. Also, add a weak implementation
      of default_serial_console() returning this driver.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Peter Tyser <ptyser@xes-inc.com>
      af7be3b6
    • M
      serial: powerpc: Implement CONFIG_SERIAL_MULTI into iop480 serial driver · fcc2074d
      Marek Vasut 提交于
      Implement support for CONFIG_SERIAL_MULTI into iop480 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 iop480 driver. Also, add a weak implementation
      of default_serial_console() returning this driver.
      Signed-off-by: NMarek 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>
      fcc2074d
    • M
      serial: powerpc: Implement CONFIG_SERIAL_MULTI into mpc85xx serial driver · 7a311546
      Marek Vasut 提交于
      Implement support for CONFIG_SERIAL_MULTI into mpc85xx 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 mpc85xx driver. Also, add a weak implementation
      of default_serial_console() returning this driver.
      Signed-off-by: NMarek 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>
      7a311546
    • M
      serial: powerpc: Implement CONFIG_SERIAL_MULTI into mpc8260 serial drivers · d68f4da2
      Marek Vasut 提交于
      Implement support for CONFIG_SERIAL_MULTI into both SCC and SMC mpc8260
      serial drivers. These drivers were 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 mpc8260 drivers. Also, add a weak
      implementation of default_serial_console() returning this driver.
      Signed-off-by: NMarek 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>
      d68f4da2
    • M
      serial: powerpc: Implement CONFIG_SERIAL_MULTI into mpc8220 serial driver · 2063a54e
      Marek Vasut 提交于
      Implement support for CONFIG_SERIAL_MULTI into mpc8220 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 mpc8220 driver. Also, add a weak implementation
      of default_serial_console() returning this driver.
      Signed-off-by: NMarek 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>
      2063a54e
    • M
      serial: powerpc: Implement CONFIG_SERIAL_MULTI into mpc5xx serial driver · b57c6528
      Marek Vasut 提交于
      Implement support for CONFIG_SERIAL_MULTI into mpc5xx 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 mpc5xx driver. Also, add a weak implementation
      of default_serial_console() returning this driver.
      Signed-off-by: NMarek 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>
      b57c6528
    • M
      serial: mips: Implement CONFIG_SERIAL_MULTI into JZ serial driver · 6cb3273d
      Marek Vasut 提交于
      Implement support for CONFIG_SERIAL_MULTI into JZ 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 JZ driver. Also, add a weak implementation
      of default_serial_console() returning this driver.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
      6cb3273d
    • M
      serial: mips: Implement CONFIG_SERIAL_MULTI into asc serial driver · 01911422
      Marek Vasut 提交于
      Implement support for CONFIG_SERIAL_MULTI into asc 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 asc driver. Also, add a weak implementation
      of default_serial_console() returning this driver.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
      01911422
    • M
      serial: mips: Implement CONFIG_SERIAL_MULTI into au1x00 serial driver · 7b953c51
      Marek Vasut 提交于
      Implement support for CONFIG_SERIAL_MULTI into au1x00 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 au1x00 driver. Also, add a weak implementation
      of default_serial_console() returning this driver.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
      7b953c51
    • M
      serial: bfin: Flip the jtag serial console to CONFIG_SERIAL_MULTI · 41651cab
      Marek Vasut 提交于
      Rework the emulation of serial console via JTAG from simple ad-hoc
      implementation of serial port routines to CONFIG_SERIAL_MULTI and
      enable CONFIG_SERIAL_MULTI unconditionally for blackfin.
      
      In order for the JTAG serial console to take precedence over all
      other serial ports available in system, implement override for
      default_serial_console call returning this JTAG serial console.
      
      This brings in a bit of a growth of size, but eventually will allow
      us to unconditionally enable CONFIG_SERIAL_MULTI throughout the whole
      U-Boot and maintain only one serial subsystem.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Mike Frysinger <vapier@gentoo.org>
      41651cab
    • M
      serial: zoom2: Remove zoom2 serial prototypes from serial.h · 425101e1
      Marek Vasut 提交于
      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: NMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      425101e1
    • M
      serial: bfin: Adjust serial_register_bfin_uart() · 5ae1de0d
      Marek Vasut 提交于
      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: NMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Mike Frysinger <vapier@gentoo.org>
      5ae1de0d
    • M
      serial: bfin: Remove the bfin_serialN_device exports from serial.h · c513d7e5
      Marek Vasut 提交于
      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: NMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Mike Frysinger <vapier@gentoo.org>
      c513d7e5
    • M
      serial: ns16550: Move serial registration from serial_initialize() · abc0ed8d
      Marek Vasut 提交于
      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: NMarek 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