From 085a2268083cfe1d22f696c9070726dcf2dc160f Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Fri, 4 Jan 2019 16:11:50 +0100 Subject: superio/*: Link early initialization into bootblock MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This allows to set up the SuperIO in the C_ENVIRONMENT_BOOTBLOCK bootblocks. It is likely unnecessary to do this in verstage. This also renames COMMON_ROMSTAGE to COMMON_PRE_RAM. Change-Id: I3d999611baa1e79c79fe6b1f01822ebaa5f85daf Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/c/30672 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki Reviewed-by: Felix Held --- src/superio/nuvoton/nct5104d/Kconfig | 2 +- src/superio/nuvoton/nct5104d/Makefile.inc | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src/superio/nuvoton/nct5104d') diff --git a/src/superio/nuvoton/nct5104d/Kconfig b/src/superio/nuvoton/nct5104d/Kconfig index 86fba7601d..12ef644f7b 100644 --- a/src/superio/nuvoton/nct5104d/Kconfig +++ b/src/superio/nuvoton/nct5104d/Kconfig @@ -15,4 +15,4 @@ config SUPERIO_NUVOTON_NCT5104D bool - select SUPERIO_NUVOTON_COMMON_ROMSTAGE + select SUPERIO_NUVOTON_COMMON_PRE_RAM diff --git a/src/superio/nuvoton/nct5104d/Makefile.inc b/src/superio/nuvoton/nct5104d/Makefile.inc index 5067a93915..1c67660736 100644 --- a/src/superio/nuvoton/nct5104d/Makefile.inc +++ b/src/superio/nuvoton/nct5104d/Makefile.inc @@ -15,4 +15,5 @@ ## ramstage-$(CONFIG_SUPERIO_NUVOTON_NCT5104D) += superio.c +bootblock-$(CONFIG_SUPERIO_NUVOTON_NCT5104D) += early_init.c romstage-$(CONFIG_SUPERIO_NUVOTON_NCT5104D) += early_init.c -- cgit v1.2.3