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/winbond/w83627dhg/Kconfig | 2 +- src/superio/winbond/w83627dhg/Makefile.inc | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src/superio/winbond/w83627dhg') diff --git a/src/superio/winbond/w83627dhg/Kconfig b/src/superio/winbond/w83627dhg/Kconfig index 46d710a497..9a51943ea9 100644 --- a/src/superio/winbond/w83627dhg/Kconfig +++ b/src/superio/winbond/w83627dhg/Kconfig @@ -16,4 +16,4 @@ config SUPERIO_WINBOND_W83627DHG bool - select SUPERIO_WINBOND_COMMON_ROMSTAGE + select SUPERIO_WINBOND_COMMON_PRE_RAM diff --git a/src/superio/winbond/w83627dhg/Makefile.inc b/src/superio/winbond/w83627dhg/Makefile.inc index 7d9dc97bca..4075a41dc7 100644 --- a/src/superio/winbond/w83627dhg/Makefile.inc +++ b/src/superio/winbond/w83627dhg/Makefile.inc @@ -15,5 +15,6 @@ ## GNU General Public License for more details. ## +bootblock-$(CONFIG_SUPERIO_WINBOND_W83627DHG) += early_serial.c romstage-$(CONFIG_SUPERIO_WINBOND_W83627DHG) += early_serial.c ramstage-$(CONFIG_SUPERIO_WINBOND_W83627DHG) += superio.c -- cgit v1.2.3