summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2021-03-08 10:35:49 +0100
committerFelix Singer <felixsinger@posteo.net>2021-10-15 09:08:35 +0000
commit05ae8f2ff31ba1d02aba15c99025df91588712e1 (patch)
tree9828f45dcfca1ed85f6e07c82d68d279dc8f2da1 /util
parentdcc0cc27f4a728e96dd85b88f7321edfcfd7add9 (diff)
downloadcoreboot-05ae8f2ff31ba1d02aba15c99025df91588712e1.tar.gz
coreboot-05ae8f2ff31ba1d02aba15c99025df91588712e1.tar.bz2
coreboot-05ae8f2ff31ba1d02aba15c99025df91588712e1.zip
mainboard: Drop invalid `VGA_BIOS_FILE` defaults
If the VGA BIOS file path for `VGA_BIOS_FILE` in a mainboard's Kconfig does not exist in the coreboot tree (including submodules), drop it. These files should be stored in the `site-local` subdirectory and the paths specified for each board in `site-local/Kconfig`. For example: config VGA_BIOS_FILE default "site-local/x200_vbios.bin" if BOARD_LENOVO_X200 Note that this is just an example. There are better ways to structure one's `site-local` subfolder. Using the `CONFIG_MAINBOARD_DIR` option would be one of them, though variants may still need special handling. Also, update autoport to not generate `VGA_BIOS_FILE` defaults. Change-Id: I1b5dfba035a42d7943f270f95fb7d32b285584d2 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/51340 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de> Reviewed-by: Felix Singer <felixsinger@posteo.net>
Diffstat (limited to 'util')
-rw-r--r--util/autoport/main.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/util/autoport/main.go b/util/autoport/main.go
index b889a95681ba..9b0b43666a61 100644
--- a/util/autoport/main.go
+++ b/util/autoport/main.go
@@ -510,9 +510,6 @@ func (g GenericVGA) Scan(ctx Context, addr PCIDevData) {
KconfigString["VGA_BIOS_ID"] = fmt.Sprintf("%04x,%04x",
addr.PCIVenID,
addr.PCIDevID)
- KconfigString["VGA_BIOS_FILE"] = fmt.Sprintf("pci%04x,%04x.rom",
- addr.PCIVenID,
- addr.PCIDevID)
PutPCIDevParent(addr, g.Comment, g.MissingParent)
IGDEnabled = true
}