diff options
author | Teo Boon Tiong <boon.tiong.teo@intel.com> | 2016-11-11 05:28:53 +0800 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-11-28 20:33:21 +0100 |
commit | bef4d263ae092f8e4b25924f45c4f526fee4615c (patch) | |
tree | e50fec9976634b9362abd02dd8e09ab20cab3aa3 /src/superio/nuvoton | |
parent | e68947dbd196f10f35d0fdf6d1eb40adeb8f6593 (diff) |
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 <boon.tiong.teo@intel.com>
Reviewed-on: https://review.coreboot.org/17359
Tested-by: build bot (Jenkins)
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/superio/nuvoton')
-rw-r--r-- | src/superio/nuvoton/Makefile.inc | 3 |
1 files changed, 3 insertions, 0 deletions
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 |