payloads/external/SeaBIOS: Use coreboot’s serial console settings
Set up the serial console on SeaBIOS to match coreboot's settings. Previously, we were just forcing it on, and setting it to 0x3f8. Change-Id: I107245c8bd1ba2cf948c6671337c6169226aaaaf Signed-off-by: Martin Roth <martin.roth@se-eng.com> Reviewed-on: http://review.coreboot.org/6363 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
This commit is contained in:
parent
97804520bd
commit
0d7f133c38
|
@ -25,7 +25,12 @@ checkout: fetch
|
||||||
config: checkout
|
config: checkout
|
||||||
echo " CONFIG SeaBIOS $(TAG-y)"
|
echo " CONFIG SeaBIOS $(TAG-y)"
|
||||||
echo "CONFIG_COREBOOT=y" > $(OUT)/seabios/.config
|
echo "CONFIG_COREBOOT=y" > $(OUT)/seabios/.config
|
||||||
|
ifeq ($(CONFIG_CONSOLE_SERIAL),y)
|
||||||
echo "CONFIG_DEBUG_SERIAL=y" >> $(OUT)/seabios/.config
|
echo "CONFIG_DEBUG_SERIAL=y" >> $(OUT)/seabios/.config
|
||||||
|
echo "CONFIG_DEBUG_SERIAL_PORT=$(CONFIG_TTYS0_BASE)" >> $(OUT)/seabios/.config
|
||||||
|
else
|
||||||
|
echo "# CONFIG_DEBUG_SERIAL is not set" >> $(OUT)/seabios/.config
|
||||||
|
endif
|
||||||
ifneq ($(CONFIG_SEABIOS_THREAD_OPTIONROMS),y)
|
ifneq ($(CONFIG_SEABIOS_THREAD_OPTIONROMS),y)
|
||||||
echo "# CONFIG_THREAD_OPTIONROMS is not set" >> $(OUT)/seabios/.config
|
echo "# CONFIG_THREAD_OPTIONROMS is not set" >> $(OUT)/seabios/.config
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -350,6 +350,8 @@ seabios:
|
||||||
CONFIG_SEABIOS_MASTER=$(CONFIG_SEABIOS_MASTER) \
|
CONFIG_SEABIOS_MASTER=$(CONFIG_SEABIOS_MASTER) \
|
||||||
CONFIG_SEABIOS_STABLE=$(CONFIG_SEABIOS_STABLE) \
|
CONFIG_SEABIOS_STABLE=$(CONFIG_SEABIOS_STABLE) \
|
||||||
CONFIG_SEABIOS_THREAD_OPTIONROMS=$(CONFIG_SEABIOS_THREAD_OPTIONROMS) \
|
CONFIG_SEABIOS_THREAD_OPTIONROMS=$(CONFIG_SEABIOS_THREAD_OPTIONROMS) \
|
||||||
|
CONFIG_CONSOLE_SERIAL=$(CONFIG_CONSOLE_SERIAL) \
|
||||||
|
CONFIG_TTYS0_BASE=$(CONFIG_TTYS0_BASE) \
|
||||||
OUT=$(abspath $(obj)) IASL="$(IASL)"
|
OUT=$(abspath $(obj)) IASL="$(IASL)"
|
||||||
|
|
||||||
filo:
|
filo:
|
||||||
|
|
Loading…
Reference in New Issue