diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2019-01-04 16:11:50 +0100 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2019-01-06 14:02:58 +0000 |
commit | 085a2268083cfe1d22f696c9070726dcf2dc160f (patch) | |
tree | 7ee20eb15d7c6ad9dfa66f2895573af5e90d3fc5 /src/superio/ite/it8772f | |
parent | 89393d633d70b9393af5b1c74af95c5e24bd99b0 (diff) |
superio/*: Link early initialization into bootblock
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 <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/30672
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/superio/ite/it8772f')
-rw-r--r-- | src/superio/ite/it8772f/Kconfig | 2 | ||||
-rw-r--r-- | src/superio/ite/it8772f/Makefile.inc | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/superio/ite/it8772f/Kconfig b/src/superio/ite/it8772f/Kconfig index 72c79ce714..ad6ba08350 100644 --- a/src/superio/ite/it8772f/Kconfig +++ b/src/superio/ite/it8772f/Kconfig @@ -16,4 +16,4 @@ config SUPERIO_ITE_IT8772F bool - select SUPERIO_ITE_COMMON_ROMSTAGE + select SUPERIO_ITE_COMMON_PRE_RAM diff --git a/src/superio/ite/it8772f/Makefile.inc b/src/superio/ite/it8772f/Makefile.inc index a0bf94db75..6c06c36740 100644 --- a/src/superio/ite/it8772f/Makefile.inc +++ b/src/superio/ite/it8772f/Makefile.inc @@ -14,6 +14,7 @@ ## GNU General Public License for more details. ## +bootblock-$(CONFIG_SUPERIO_ITE_IT8772F) += early_init.c romstage-$(CONFIG_SUPERIO_ITE_IT8772F) += early_init.c ramstage-$(CONFIG_SUPERIO_ITE_IT8772F) += superio.c smm-$(CONFIG_SUPERIO_ITE_IT8772F) += early_init.c |