From bef4d263ae092f8e4b25924f45c4f526fee4615c Mon Sep 17 00:00:00 2001 From: Teo Boon Tiong Date: Fri, 11 Nov 2016 05:28:53 +0800 Subject: sio/nuvoton: Include generic nuvoton driver in bootblock stage The purpose of this change is to enable serial output in bootblock stage Change-Id: I8e075f1e70d1a6598dfdc34931218f5af9637178 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 --- src/superio/nuvoton/Makefile.inc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/superio/nuvoton/Makefile.inc') 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 -- cgit v1.2.3