From 9c13e528a003028af27365b6894af85836d804a1 Mon Sep 17 00:00:00 2001 From: Peter Dufault Date: Tue, 27 Apr 2021 13:48:46 -0400 Subject: 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. --- spec/build/bsps/powerpc/motorola_powerpc/obj.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'spec/build/bsps/powerpc/motorola_powerpc') 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 -- cgit v1.2.3