Don't run any Option ROMs stored outside of the system flash
authorStefan Reinauer <reinauer@chromium.org>
Thu, 6 Oct 2011 23:47:51 +0000 (16:47 -0700)
committerMathias Krause <minipli@googlemail.com>
Fri, 9 Mar 2012 19:01:32 +0000 (20:01 +0100)
commitafaa25776ff2f42293e6ef48fdaddfa8104bbe50
tree1305ce64ad9924ebc693ded82dff1e9ec0a0b822
parent1025f3afc85be633451c4312ab26d179d47132e5
Don't run any Option ROMs stored outside of the system flash

Right now coreboot only executes VGA Option ROMs. However, this is not
good enough. For security reasons we want to execute only Option ROMs
stored in our r/o CBFS.

This patch adds a new option to disable execution of arbitrary Option
ROMs.

Also fix the capitalization of Option ROM in src/devices/Kconfig

Change-Id: I485291c06ec5cd1f875357401831fe32ccfc5f2f
Signed-off-by: Stefan Reinauer <reinauer@google.com>
Reviewed-on: http://review.coreboot.org/730
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Reviewed-by: Mathias Krause <minipli@googlemail.com>
src/devices/Kconfig
src/devices/pci_rom.c