summaryrefslogtreecommitdiff
path: root/Makefile.inc
diff options
context:
space:
mode:
authorMichał Żygowski <michal.zygowski@3mdeb.com>2020-04-13 20:15:37 +0200
committerMichał Żygowski <michal.zygowski@3mdeb.com>2020-04-16 09:03:59 +0000
commit11278dbabeefe33acd8a796359de1e08e655dc8b (patch)
treee387a70b88431fd50eaf1fc3a1bf8612e26f5f44 /Makefile.inc
parent53525771f0584ea87da78047ceac5682d77a31bf (diff)
SeaBIOS: fix threaded hardware initialization during oprom execution
Since SeaBIOS rel-1.7.5 CONFIG_THREAD_OPTIONROMS is not present in its config. The threaded hardware initialization during optionrom execution is now controlled with a CBFS file. Add appropriate integer to CBFS when threaded hardware initialization is selected in coreboot's Kconfig. Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com> Change-Id: I9b5a532b609c6addf31ccdb6be03ff2e937ad326 Reviewed-on: https://review.coreboot.org/c/coreboot/+/40345 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'Makefile.inc')
-rw-r--r--Makefile.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.inc b/Makefile.inc
index dbf95d4fb3..39dd6ddf9b 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -1111,6 +1111,10 @@ ifeq ($(CONFIG_SEABIOS_ADD_SERCON_PORT_FILE),y)
@printf " SeaBIOS Add sercon-port file\n"
$(CBFSTOOL) $@.tmp add-int -i $(CONFIG_SEABIOS_SERCON_PORT_ADDR) -n etc/sercon-port
endif
+ifeq ($(CONFIG_SEABIOS_THREAD_OPTIONROMS),y)
+ @printf " SeaBIOS Thread optionroms\n"
+ $(CBFSTOOL) $@.tmp add-int -i 2 -n etc/threads
+endif
ifeq ($(CONFIG_CPU_INTEL_FIRMWARE_INTERFACE_TABLE),y)
ifneq ($(CONFIG_UPDATE_IMAGE),y) # never update the bootblock
ifeq ($(CONFIG_CPU_MICROCODE_CBFS_EXTERNAL_HEADER),y)