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/ite/common/Kconfig | 2 +- src/superio/ite/common/ite.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/superio/ite/common') diff --git a/src/superio/ite/common/Kconfig b/src/superio/ite/common/Kconfig index 162b7f1545..8e52cf4e4e 100644 --- a/src/superio/ite/common/Kconfig +++ b/src/superio/ite/common/Kconfig @@ -17,7 +17,7 @@ # Generic ITE romstage driver - Just enough UART initialisation code for # romstage. -config SUPERIO_ITE_COMMON_ROMSTAGE +config SUPERIO_ITE_COMMON_PRE_RAM bool # Generic ITE environment controller driver diff --git a/src/superio/ite/common/ite.h b/src/superio/ite/common/ite.h index 7e0e80ec96..5b39672a5f 100644 --- a/src/superio/ite/common/ite.h +++ b/src/superio/ite/common/ite.h @@ -14,8 +14,8 @@ * GNU General Public License for more details. */ -#ifndef SUPERIO_ITE_COMMON_ROMSTAGE_H -#define SUPERIO_ITE_COMMON_ROMSTAGE_H +#ifndef SUPERIO_ITE_COMMON_PRE_RAM_H +#define SUPERIO_ITE_COMMON_PRE_RAM_H #include #include @@ -34,4 +34,4 @@ void ite_kill_watchdog(pnp_devfn_t dev); void pnp_enter_conf_state(pnp_devfn_t dev); void pnp_exit_conf_state(pnp_devfn_t dev); -#endif /* SUPERIO_ITE_COMMON_ROMSTAGE_H */ +#endif /* SUPERIO_ITE_COMMON_PRE_RAM_H */ -- cgit v1.2.3