forked from Imagelibrary/rtems
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.
This commit is contained in:
committed by
Vijay Kumar Banerjee
parent
bbc93c119c
commit
9c13e528a0
@@ -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
|
||||
|
||||
@@ -42,6 +42,8 @@ links:
|
||||
uid: ../../opto2
|
||||
- role: build-dependency
|
||||
uid: abi
|
||||
- role: build-dependency
|
||||
uid: ../../optconsolebaud
|
||||
- role: build-dependency
|
||||
uid: optsbrk
|
||||
- role: build-dependency
|
||||
|
||||
@@ -36,6 +36,8 @@ links:
|
||||
uid: ../grp
|
||||
- role: build-dependency
|
||||
uid: abi
|
||||
- role: build-dependency
|
||||
uid: ../../optconsolebaud
|
||||
- role: build-dependency
|
||||
uid: optsprg
|
||||
- role: build-dependency
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -39,6 +39,8 @@ links:
|
||||
uid: ../grp
|
||||
- role: build-dependency
|
||||
uid: abi
|
||||
- role: build-dependency
|
||||
uid: ../../optconsolebaud
|
||||
- role: build-dependency
|
||||
uid: optsbrk
|
||||
- role: build-dependency
|
||||
|
||||
@@ -47,6 +47,8 @@ links:
|
||||
uid: ../grp
|
||||
- role: build-dependency
|
||||
uid: abi
|
||||
- role: build-dependency
|
||||
uid: ../../optconsolebaud
|
||||
- role: build-dependency
|
||||
uid: optsbrk
|
||||
- role: build-dependency
|
||||
|
||||
Reference in New Issue
Block a user