summaryrefslogtreecommitdiffstats
path: root/spec/build/bsps
diff options
context:
space:
mode:
authorPeter Dufault <dufault@hda.com>2021-04-27 13:48:46 -0400
committerVijay Kumar Banerjee <vijay@rtems.org>2021-04-27 16:46:48 -0600
commit9c13e528a003028af27365b6894af85836d804a1 (patch)
treef1ec6b8ab12805fa4c8091ec00c4b30b676453a4 /spec/build/bsps
parentReturn status code for _Thread_Start() (diff)
downloadrtems-9c13e528a003028af27365b6894af85836d804a1.tar.bz2
powerpc/shared/console: Make console baud rate configurable.
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. Note that the VME BSPs beatnik, mvme3100, and mve5100 can be improved by adding a "mvmexxxx" BSP family. This configuration change, as well as future configuration changes, could then be made in a "grp.yml" file.
Diffstat (limited to 'spec/build/bsps')
-rw-r--r--spec/build/bsps/optconsolebaud.yml5
-rw-r--r--spec/build/bsps/powerpc/beatnik/bspbeatnik.yml2
-rw-r--r--spec/build/bsps/powerpc/haleakala/bsphaleakala.yml2
-rw-r--r--spec/build/bsps/powerpc/motorola_powerpc/obj.yml4
-rw-r--r--spec/build/bsps/powerpc/mvme3100/bspmvme3100.yml2
-rw-r--r--spec/build/bsps/powerpc/mvme5500/bspmvme5500.yml2
6 files changed, 16 insertions, 1 deletions
diff --git a/spec/build/bsps/optconsolebaud.yml b/spec/build/bsps/optconsolebaud.yml
index 3fe1eeec24..684c820ab3 100644
--- a/spec/build/bsps/optconsolebaud.yml
+++ b/spec/build/bsps/optconsolebaud.yml
@@ -11,6 +11,11 @@ default-by-variant:
variants:
- m68k/m5484FireEngine
- powerpc/hsc_cm01
+ - powerpc/beatnik
+ - powerpc/haleakala
+ - powerpc/motorola_powerpc
+ - powerpc/mvme3100
+ - powerpc/mvme5500
- value: 19200
variants:
- m68k/COBRA5475
diff --git a/spec/build/bsps/powerpc/beatnik/bspbeatnik.yml b/spec/build/bsps/powerpc/beatnik/bspbeatnik.yml
index 6949ddb3f0..417d972f1c 100644
--- a/spec/build/bsps/powerpc/beatnik/bspbeatnik.yml
+++ b/spec/build/bsps/powerpc/beatnik/bspbeatnik.yml
@@ -43,6 +43,8 @@ links:
- role: build-dependency
uid: abi
- role: build-dependency
+ uid: ../../optconsolebaud
+- role: build-dependency
uid: optsbrk
- role: build-dependency
uid: ../crti
diff --git a/spec/build/bsps/powerpc/haleakala/bsphaleakala.yml b/spec/build/bsps/powerpc/haleakala/bsphaleakala.yml
index 66e3b057dd..b45da019b2 100644
--- a/spec/build/bsps/powerpc/haleakala/bsphaleakala.yml
+++ b/spec/build/bsps/powerpc/haleakala/bsphaleakala.yml
@@ -37,6 +37,8 @@ links:
- role: build-dependency
uid: abi
- role: build-dependency
+ uid: ../../optconsolebaud
+- role: build-dependency
uid: optsprg
- role: build-dependency
uid: optvecbase
diff --git a/spec/build/bsps/powerpc/motorola_powerpc/obj.yml b/spec/build/bsps/powerpc/motorola_powerpc/obj.yml
index e278c1106a..d81ded31b8 100644
--- a/spec/build/bsps/powerpc/motorola_powerpc/obj.yml
+++ b/spec/build/bsps/powerpc/motorola_powerpc/obj.yml
@@ -20,7 +20,9 @@ install:
source:
- bsps/powerpc/motorola_powerpc/start/linkcmds
- bsps/powerpc/shared/start/linkcmds.share
-links: []
+links:
+- role: build-dependency
+ uid: ../../optconsolebaud
source:
- bsps/powerpc/motorola_powerpc/console/polled_io.c
- bsps/powerpc/motorola_powerpc/start/bspreset.c
diff --git a/spec/build/bsps/powerpc/mvme3100/bspmvme3100.yml b/spec/build/bsps/powerpc/mvme3100/bspmvme3100.yml
index 3ae4aa6052..66fe09aa5c 100644
--- a/spec/build/bsps/powerpc/mvme3100/bspmvme3100.yml
+++ b/spec/build/bsps/powerpc/mvme3100/bspmvme3100.yml
@@ -40,6 +40,8 @@ links:
- role: build-dependency
uid: abi
- role: build-dependency
+ uid: ../../optconsolebaud
+- role: build-dependency
uid: optsbrk
- role: build-dependency
uid: start
diff --git a/spec/build/bsps/powerpc/mvme5500/bspmvme5500.yml b/spec/build/bsps/powerpc/mvme5500/bspmvme5500.yml
index 8a3375aaac..bac1cf1632 100644
--- a/spec/build/bsps/powerpc/mvme5500/bspmvme5500.yml
+++ b/spec/build/bsps/powerpc/mvme5500/bspmvme5500.yml
@@ -48,6 +48,8 @@ links:
- role: build-dependency
uid: abi
- role: build-dependency
+ uid: ../../optconsolebaud
+- role: build-dependency
uid: optsbrk
- role: build-dependency
uid: start