boot0: add a note about BIOS-supported serial rates

We plan to increase the default serial rate to 115200 (see review
D36295) but early boot components that use BIOS interfaces do not
support higher rates.  Add a note to that effect.

Reported by:	imp
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Ed Maste 2023-08-15 18:42:22 -04:00
parent eac761e967
commit 34d55be074

View file

@ -56,7 +56,7 @@ ORG= 0x600
# 2 stop bits (set = 2, clear = 1)
# 1-0 data bits (00 = 5, 01 = 6, 10 = 7, 11 = 8)
.if !defined(BOOT_BOOT0_COMCONSOLE_SPEED)
BOOT_COMCONSOLE_SPEED?= 9600
BOOT_COMCONSOLE_SPEED?= 9600 # BIOS interfaces do not support higher rates.
.if ${BOOT_COMCONSOLE_SPEED} == 9600
BOOT_BOOT0_COMCONSOLE_SPEED= "7 << 5 + 3"
.elif ${BOOT_COMCONSOLE_SPEED} == 4800