[PATCH v2 0/2] powerpc/shared/console: Console baud rate fixes

dufault at hda.com dufault at hda.com
Sat Apr 10 12:41:36 UTC 2021


From: Peter Dufault <dufault at hda.com>

The "powerpc/shared/console" code has the start-up console value fixed
at 9600 baud.  This changes the hard-wired constant "9600" in the code
to the configuration setting "BSP_CONSOLE_BAUD" and adds configuration
support in both the "waf" and the legacy configuration systems.

In addition, once the shared console baud rate can be set to start at
anything other than 9600 the termios code will reset it to 9600 at the
first open.

Peter Dufault (2):
  powerpc/shared/console: Make console baud rate configurable.
  powerpc/shared/console: "termios" first open sets console baud to 9600

 bsps/powerpc/shared/console/console.c                  | 4 ++--
 bsps/powerpc/shared/console/uart.c                     | 5 ++++-
 c/src/lib/libbsp/powerpc/beatnik/configure.ac          | 4 ++++
 c/src/lib/libbsp/powerpc/haleakala/configure.ac        | 4 ++++
 c/src/lib/libbsp/powerpc/motorola_powerpc/configure.ac | 4 ++++
 c/src/lib/libbsp/powerpc/mvme3100/configure.ac         | 4 ++++
 c/src/lib/libbsp/powerpc/mvme5500/configure.ac         | 4 ++++
 spec/build/bsps/optconsolebaud.yml                     | 5 +++++
 spec/build/bsps/powerpc/beatnik/bspbeatnik.yml         | 2 ++
 spec/build/bsps/powerpc/haleakala/bsphaleakala.yml     | 2 ++
 spec/build/bsps/powerpc/motorola_powerpc/obj.yml       | 4 +++-
 spec/build/bsps/powerpc/mvme3100/bspmvme3100.yml       | 2 ++
 spec/build/bsps/powerpc/mvme5500/bspmvme5500.yml       | 2 ++
 13 files changed, 42 insertions(+), 4 deletions(-)

-- 
1.8.3.1



More information about the devel mailing list