27 Apr, 2020
1 commit
-
Introduce puts hook for dm serial driver.
Change-Id: I75423998c7d8db20949bae6ac46a094dc62c9612
Signed-off-by: Peng Fan
Reviewed-by: Peng Fan
Reviewed-by: Flynn xu
(cherry picked from commit bb986d4ff2124285ec0d99a51a2702a53f485813)
03 Dec, 2019
3 commits
-
These functions belong in serial.h so move them over.
Signed-off-by: Simon Glass
Reviewed-by: Tom Rini -
Move this function header to serial.h since this function is clearly
related to serial. The function itself stays in console.c since we don't
have a single serial file. DM and non-DM each has a separate file so we
would have to either create a new common serial file, or repeat the
function in both serial.c and serial-uclass.c, neither of which seem
worthwhile.Signed-off-by: Simon Glass
Reviewed-by: Tom Rini -
The function declarations in serial.h are not in sync with what is
currently used in usbtty. Fix this by updating the header and including
it, to help catch future such problems.Signed-off-by: Simon Glass
Reviewed-by: Tom Rini
15 Jan, 2019
5 commits
-
The getconfig() comment is out of date. Fix this and add comments for
recently added functions.Signed-off-by: Simon Glass
Reviewed-by: Andy Shevchenko -
All driver-model functions should have a device as the first parameter.
Update this function accordingly.Signed-off-by: Simon Glass
Reviewed-by: Andy Shevchenko -
All driver-model functions should have a device as the first parameter.
Update this function accordingly.Signed-off-by: Simon Glass
Reviewed-by: Andy Shevchenko -
All driver-model functions should have a device as the first parameter.
Update this function accordingly.Signed-off-by: Simon Glass
Reviewed-by: Andy Shevchenko -
We should not be adding new functions to common.h. Move these recently
added functions to serial.h.Signed-off-by: Simon Glass
Reviewed-by: Andy Shevchenko
05 Dec, 2018
2 commits
-
New callback will give a necessary information to fill up ACPI SPCR table,
for example. Maybe used later for other purposes.Signed-off-by: Andy Shevchenko
Reviewed-by: Simon Glass
Change ADR_SPACE_SYSTEM_IO to SERIAL_ADDRESS_SPACE_IO to fix build error:
Signed-off-by: Simon Glass -
In some cases it would be good to know the settings, such as parity,
of current serial console. One example might be an ACPI SPCR table
to generate using these parameters.Signed-off-by: Andy Shevchenko
Reviewed-by: Simon Glass
03 Dec, 2018
1 commit
-
Signed-off-by: Christophe Leroy
17 Nov, 2018
1 commit
-
The comment on this function prototype describes nonexistent
parameters. It seems to be copied from 'setparity'.Update it to match its the parameter list.
Signed-off-by: Simon Goldschmidt
Reviewed-by: Simon Glass
11 Sep, 2018
3 commits
-
Signed-off-by: Patrice Chotard
Reviewed-by: Simon Glass -
setparity users has been updated to use new setconfig ops,
so we can safely remove setparity opsSigned-off-by: Patrice Chotard
Reviewed-by: Simon Glass -
Replace setparity by more generic setconfig ops
to allow uart parity, bits word length and stop bits
number change.Adds SERIAL_GET_PARITY/BITS/STOP macros.
Signed-off-by: Patrick Delaunay
Signed-off-by: Patrice Chotard
Reviewed-by: Simon Glass
08 Aug, 2018
1 commit
-
The only platform left for the AU1x00 SoCs was the pb1x00 platform, an
apparent clone of the dbau1x00 platform. As pb1x00 had no listed
maintainer I am assuming that it is also orphaned. Remove this platform
and then remove the unused SoC support.Cc: Daniel Schwierzeck
Signed-off-by: Tom Rini
Reviewed-by: Daniel Schwierzeck
27 May, 2018
1 commit
-
Implements serial setparity ops to allow uart parity change.
It allows to select ODD, EVEN or NONE parity.Signed-off-by: Patrick Delaunay
Signed-off-by: Patrice Chotard
07 Apr, 2018
1 commit
-
This patch removes call of serial initialisation functions that
are not implemented anymore.Signed-off-by: Christophe Leroy
24 Aug, 2017
1 commit
-
Pasting longer lines into the U-Boot console prompt sometimes leads to
characters missing. One problem here is the small 16-byte FIFO of the
legacy NS16550 UART, e.g. on x86 platforms.This patch now introduces a Kconfig option to enable RX buffer support
for all DM based serial drivers. With this option enabled, I was
able paste really long lines into the U-Boot console, without any
characters missing.Signed-off-by: Stefan Roese
Cc: Simon Glass
Cc: Bin Meng
Cc: Tom Rini
Reviewed-by: Bin Meng
Tested-by: Bin Meng
04 Jul, 2017
1 commit
-
There was for long time no activity in the 4xx area.
We need to go further and convert to Kconfig, but it
turned out, nobody is interested anymore in 4xx,
so remove it.Signed-off-by: Heiko Schocher
16 Jun, 2017
3 commits
-
we removed 5xx support. So delete some forgotten remains.
Signed-off-by: Heiko Schocher
-
we removed 82xx support. Missed some 82xx remains,
remove them now.Signed-off-by: Heiko Schocher
-
There was for long time no activity in the mpx5xxx area.
We need to go further and convert to Kconfig, but it
turned out, nobody is interested anymore in mpc5xxx,
so remove it.Signed-off-by: Heiko Schocher
28 May, 2016
1 commit
-
Different AM335x based platforms have different serial consoles. As serial
console is Kconfig option a separate defconfig has to be created for each
platform. So pass the serial device dynamically.Signed-off-by: Lokesh Vutla
23 Oct, 2015
1 commit
-
Both altera_jtag_serial_initialize() and
altera_serial_initialize() are no longer used after
they are converted to driver model.Signed-off-by: Thomas Chou
Acked-by: Simon Glass
Acked-by: Marek Vasut
25 Feb, 2015
2 commits
-
These are still non-generic boards.
Signed-off-by: Masahiro Yamada
Cc: Greg Ungerer
Acked-by: Marek Vasut -
This is still a non-generic board.
Signed-off-by: Masahiro Yamada
Cc: Matthias Weisser
Acked-by: Marek Vasut
05 Nov, 2014
1 commit
-
While at it, sort them.
Cc: Tom Rini
Cc: Simon Glass
Signed-off-by: Jeroen Hofstee
11 Sep, 2014
1 commit
-
Serial devices support simple byte input/output and a few operations to find
out whether data is available. Add a basic uclass for serial devices to be
used by drivers that are converted to driver model.Signed-off-by: Simon Glass
20 Aug, 2013
1 commit
-
This patch removes support for the APM 405CR CPU.
This CPU is EOL and no board uses this chip.Signed-off-by: Matthias Fuchs
17 Jan, 2013
1 commit
-
This patch adds basic Tegra30 (T30) build support - no specific
board is targeted.Signed-off-by: Tom Warren
Reviewed-by: Stephen Warren
17 Oct, 2012
1 commit
-
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
Cc: Marek Vasut
Cc: Tom Rini
16 Oct, 2012
7 commits
-
Remove the parts depending either on disabled CONFIG_SERIAL_MULTI
or ifdefs around CONFIG_SERIAL_MULTI parts since CONFIG_SERIAL_MULTI
is now enabled by default.Signed-off-by: Marek Vasut
Cc: Marek Vasut
Cc: Tom Rini
Cc: Anatolij Gustschin
Cc: Stefan Roese -
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: Marek Vasut
Cc: Marek Vasut
Cc: Tom Rini -
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: Marek Vasut
Cc: Marek Vasut
Cc: Tom Rini
Cc: Mike Frysinger -
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: Marek Vasut
Cc: Marek Vasut
Cc: Tom Rini
Cc: Mike Frysinger -
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 macro in config file.Signed-off-by: Marek Vasut
Cc: Marek Vasut
Cc: Tom Rini
Cc: Anatolij Gustschin
Cc: Stefan Roese
Cc: Mike Frysinger
Cc: Michal Simek -
Move the registration of 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 mpc512x_serial_initialize() function, which is
implemented inside of the mpc512x serial driver allows encapsulation
of serialN_device within the mpc512x serial driver itself.Also, remove the exports of 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 mpx512x serial driver and
the default console is picked by CONFIG_SERIAL macro in config file.Signed-off-by: Marek Vasut
Cc: Marek Vasut
Cc: Tom Rini
Cc: Anatolij Gustschin
Cc: Stefan Roese -
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 macro in config file.Signed-off-by: Marek Vasut
Cc: Marek Vasut
Cc: Tom Rini
Cc: Michal Simek