[coreboot-gerrit] Change in coreboot[master]: payloads/SeaBIOS: Add different MMIO uart configurations

Philipp Deppenwiese (Code Review) gerrit at coreboot.org
Wed Nov 29 17:00:25 CET 2017


Philipp Deppenwiese has uploaded this change for review. ( https://review.coreboot.org/22631


Change subject: payloads/SeaBIOS: Add different MMIO uart configurations
......................................................................

payloads/SeaBIOS: Add different MMIO uart configurations

The MMIO address can change for different platforms
like Apollolake.

Change-Id: I6ec72d3a14f00212323a04e20d5a477dbc26b770
Signed-off-by: Philipp Deppenwiese <zaolin at das-labor.org>
---
M payloads/external/SeaBIOS/Makefile
1 file changed, 6 insertions(+), 0 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/31/22631/1

diff --git a/payloads/external/SeaBIOS/Makefile b/payloads/external/SeaBIOS/Makefile
index b494b48..8b6b0ed 100644
--- a/payloads/external/SeaBIOS/Makefile
+++ b/payloads/external/SeaBIOS/Makefile
@@ -45,6 +45,12 @@
 else ifeq ($(CONFIG_CONSOLE_SERIAL)$(CONFIG_DRIVERS_UART_8250MEM)$(CONFIG_HUDSON_UART),yyy)
 	echo "CONFIG_DEBUG_SERIAL_MMIO=y" >> seabios/.config
 	echo "CONFIG_DEBUG_SERIAL_MEM_ADDRESS=0xFEDC6000" >> seabios/.config
+else ifeq ($(CONFIG_CONSOLE_SERIAL)$(CONFIG_ENABLE_HSUART),yy)
+	echo "CONFIG_DEBUG_SERIAL_MMIO=y" >> seabios/.config
+	echo "CONFIG_DEBUG_SERIAL_MEM_ADDRESS=$(CONFIG_CONSOLE_UART_BASE_ADDRESS)" >> seabios/.config
+else ifeq ($(CONFIG_CONSOLE_SERIAL)$(CONFIG_DRIVERS_UART_8250MEM_32),yy)
+	echo "CONFIG_DEBUG_SERIAL_MMIO=y" >> seabios/.config
+	echo "CONFIG_DEBUG_SERIAL_MEM_ADDRESS=$(CONFIG_CONSOLE_UART_BASE_ADDRESS)" >> seabios/.config
 else
 	echo "# CONFIG_DEBUG_SERIAL is not set" >> seabios/.config
 endif

-- 
To view, visit https://review.coreboot.org/22631
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6ec72d3a14f00212323a04e20d5a477dbc26b770
Gerrit-Change-Number: 22631
Gerrit-PatchSet: 1
Gerrit-Owner: Philipp Deppenwiese <zaolin.daisuki at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20171129/05ba4e84/attachment.html>


More information about the coreboot-gerrit mailing list