diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2011-06-20 21:52:44 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2011-06-20 23:50:01 -0400 |
commit | 96f64f887dcaf86031c0be7c2a8e7245e8f452ef (patch) | |
tree | cd07b70d8f8d4f8d0e2688f95ca91af308dc4a8d /src/optionroms.c | |
parent | 096a9b10e68eb1b2087cc30e4fa6d333b6a03d72 (diff) | |
download | seabios-96f64f887dcaf86031c0be7c2a8e7245e8f452ef.tar.gz |
Remove support for compiling in OPTIONROM_VENDEV_1/2.
Passing in rom locations via absolute memory addresses hasn't been
needed since coreboot adopted CBFS support (which as several years
ago).
Diffstat (limited to 'src/optionroms.c')
-rw-r--r-- | src/optionroms.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/optionroms.c b/src/optionroms.c index ff74c4fd..a612f3c5 100644 --- a/src/optionroms.c +++ b/src/optionroms.c @@ -240,14 +240,6 @@ getRomPriority(u64 *sources, struct rom_header *rom, int instance) static struct rom_header * lookup_hardcode(u32 vendev) { - if (OPTIONROM_VENDEV_1 - && ((OPTIONROM_VENDEV_1 >> 16) - | ((OPTIONROM_VENDEV_1 & 0xffff)) << 16) == vendev) - return copy_rom((void*)OPTIONROM_MEM_1); - if (OPTIONROM_VENDEV_2 - && ((OPTIONROM_VENDEV_2 >> 16) - | ((OPTIONROM_VENDEV_2 & 0xffff)) << 16) == vendev) - return copy_rom((void*)OPTIONROM_MEM_2); char fname[17]; snprintf(fname, sizeof(fname), "pci%04x,%04x.rom" , pci_vd_to_ven(vendev), pci_vd_to_dev(vendev)); |