Dave Frodin ([email protected]) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1877
-gerrit commit 7e6c3fd22d7a31b3ec6cd1955c98e7cee34af403 Author: Dave Frodin <[email protected]> Date: Fri Nov 16 15:04:13 2012 -0700 Add support to allow adding an additional option ROM A IPXE ROM is an example of a ROM that could be added. Change-Id: I5365a356da57b3b8dca307655a4d3c576ac6db36 Signed-off-by: Dave Frodin <[email protected]> --- src/arch/x86/Makefile.inc | 5 +++++ src/devices/Kconfig | 23 +++++++++++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/src/arch/x86/Makefile.inc b/src/arch/x86/Makefile.inc index 44787a3..c777ee8 100644 --- a/src/arch/x86/Makefile.inc +++ b/src/arch/x86/Makefile.inc @@ -123,6 +123,11 @@ cbfs-files-$(CONFIG_BOOTSPLASH) += bootsplash.jpg bootsplash.jpg-file := $(call strip_quotes,$(CONFIG_BOOTSPLASH_FILE)) bootsplash.jpg-type := bootsplash +additional_option_rom = $(call strip_quotes,$(CONFIG_ADDL_OPTION_ROM_FILE_OUT)) +cbfs-files-$(CONFIG_ADDL_OPTION_ROM) += $(additional_option_rom) +$(additional_option_rom)-file := $(call strip_quotes,$(CONFIG_ADDL_OPTION_ROM_FILE_IN)) +$(additional_option_rom)-type := optionrom + ################################################################################ # i386 specific tools NVRAMTOOL:=$(objutil)/nvramtool/nvramtool diff --git a/src/devices/Kconfig b/src/devices/Kconfig index 72e8a53..ceda0ef 100644 --- a/src/devices/Kconfig +++ b/src/devices/Kconfig @@ -85,6 +85,29 @@ config ON_DEVICE_ROM_RUN If unsure, say N when using SeaBIOS as payload, Y otherwise. +config ADDL_OPTION_ROM + bool "Add an additional option ROM" + help + Select this option if you have an additional option ROM that you would + like to add to the CBFS image. + + You will be able to specify the location and file name of the + image later. + +config ADDL_OPTION_ROM_FILE_IN + string "Option ROM source path and filename" + depends on ADDL_OPTION_ROM + default "xxxxyyyy.bin" + help + The path and filename of the option ROM you wish to add. + +config ADDL_OPTION_ROM_FILE_OUT + string "Option ROM destination in CBFS" + depends on ADDL_OPTION_ROM + default "xxxxyyyy.bin" + help + The destination path and name in the CBFS. + choice prompt "Option ROM execution type" default PCI_OPTION_ROM_RUN_YABEL if !ARCH_X86 -- coreboot mailing list: [email protected] http://www.coreboot.org/mailman/listinfo/coreboot

