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/nsc | |
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/nsc')
-rw-r--r-- | src/superio/nsc/pc87309/Makefile.inc | 1 | ||||
-rw-r--r-- | src/superio/nsc/pc87360/Makefile.inc | 1 | ||||
-rw-r--r-- | src/superio/nsc/pc87366/Makefile.inc | 1 | ||||
-rw-r--r-- | src/superio/nsc/pc87417/Makefile.inc | 2 | ||||
-rw-r--r-- | src/superio/nsc/pc97317/Makefile.inc | 1 |
5 files changed, 6 insertions, 0 deletions
diff --git a/src/superio/nsc/pc87309/Makefile.inc b/src/superio/nsc/pc87309/Makefile.inc index e04c4f825e..0f0b3670bf 100644 --- a/src/superio/nsc/pc87309/Makefile.inc +++ b/src/superio/nsc/pc87309/Makefile.inc @@ -14,5 +14,6 @@ ## GNU General Public License for more details. ## +bootblock-$(CONFIG_SUPERIO_NSC_PC87309) += early_serial.c romstage-$(CONFIG_SUPERIO_NSC_PC87309) += early_serial.c ramstage-$(CONFIG_SUPERIO_NSC_PC87309) += superio.c diff --git a/src/superio/nsc/pc87360/Makefile.inc b/src/superio/nsc/pc87360/Makefile.inc index 5c3ed24247..e0ee98af1e 100644 --- a/src/superio/nsc/pc87360/Makefile.inc +++ b/src/superio/nsc/pc87360/Makefile.inc @@ -15,5 +15,6 @@ ## GNU General Public License for more details. ## +bootblock-$(CONFIG_SUPERIO_NSC_PC87360) += early_serial.c romstage-$(CONFIG_SUPERIO_NSC_PC87360) += early_serial.c ramstage-$(CONFIG_SUPERIO_NSC_PC87360) += superio.c diff --git a/src/superio/nsc/pc87366/Makefile.inc b/src/superio/nsc/pc87366/Makefile.inc index a7b5536f25..6e558ac432 100644 --- a/src/superio/nsc/pc87366/Makefile.inc +++ b/src/superio/nsc/pc87366/Makefile.inc @@ -15,5 +15,6 @@ ## GNU General Public License for more details. ## +bootblock-$(CONFIG_SUPERIO_NSC_PC87366) += early_serial.c romstage-$(CONFIG_SUPERIO_NSC_PC87366) += early_serial.c ramstage-$(CONFIG_SUPERIO_NSC_PC87366) += superio.c diff --git a/src/superio/nsc/pc87417/Makefile.inc b/src/superio/nsc/pc87417/Makefile.inc index a4a0ed54e6..4294561557 100644 --- a/src/superio/nsc/pc87417/Makefile.inc +++ b/src/superio/nsc/pc87417/Makefile.inc @@ -16,6 +16,8 @@ ## GNU General Public License for more details. ## +bootblock-$(CONFIG_SUPERIO_NSC_PC87417) += early_init.c romstage-$(CONFIG_SUPERIO_NSC_PC87417) += early_init.c +bootblock-$(CONFIG_SUPERIO_NSC_PC87417) += early_serial.c romstage-$(CONFIG_SUPERIO_NSC_PC87417) += early_serial.c ramstage-$(CONFIG_SUPERIO_NSC_PC87417) += superio.c diff --git a/src/superio/nsc/pc97317/Makefile.inc b/src/superio/nsc/pc97317/Makefile.inc index f5f1300617..2f8ee76908 100644 --- a/src/superio/nsc/pc97317/Makefile.inc +++ b/src/superio/nsc/pc97317/Makefile.inc @@ -14,5 +14,6 @@ ## GNU General Public License for more details. ## +bootblock-$(CONFIG_SUPERIO_NSC_PC97317) += early_serial.c romstage-$(CONFIG_SUPERIO_NSC_PC97317) += early_serial.c ramstage-$(CONFIG_SUPERIO_NSC_PC97317) += superio.c |