From 70ff2f9f348ec8972143a2b5ffad676ace34a411 Mon Sep 17 00:00:00 2001 From: Teo Boon Tiong Date: Fri, 11 Nov 2016 05:28:53 +0800 Subject: [PATCH] UPSTREAM: sio/nuvoton: Include generic nuvoton driver in bootblock stage The purpose of this change is to enable serial output in bootblock stage BUG=None BRANCH=None TEST=None Signed-off-by: Teo Boon Tiong Reviewed-on: https://review.coreboot.org/17359 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber Reviewed-by: Martin Roth Change-Id: I8e075f1e70d1a6598dfdc34931218f5af9637178 Reviewed-on: https://chromium-review.googlesource.com/415103 Commit-Ready: Furquan Shaikh Tested-by: Furquan Shaikh Reviewed-by: Aaron Durbin --- src/superio/nuvoton/Makefile.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/superio/nuvoton/Makefile.inc b/src/superio/nuvoton/Makefile.inc index e2e178b47f..b557af2685 100644 --- a/src/superio/nuvoton/Makefile.inc +++ b/src/superio/nuvoton/Makefile.inc @@ -14,6 +14,9 @@ ## ## include generic nuvoton pre-ram stage driver +ifeq ($(CONFIG_BOOTBLOCK_CONSOLE),y) +bootblock-$(CONFIG_SUPERIO_NUVOTON_COMMON_ROMSTAGE) += common/early_serial.c +endif romstage-$(CONFIG_SUPERIO_NUVOTON_COMMON_ROMSTAGE) += common/early_serial.c subdirs-$(CONFIG_SUPERIO_NUVOTON_WPCM450) += wpcm450