aboutsummaryrefslogtreecommitdiff
path: root/src/config.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2009-04-11 23:31:29 -0400
committerKevin O'Connor <kevin@koconnor.net>2009-04-11 23:31:29 -0400
commit4c0c85ab862bd042e84624ddc06cf87c0ed6cc47 (patch)
tree71115438a70b9b26c3b283147f8f269b9251da96 /src/config.h
parentb49e058cd3b60cfff67c8ec5400e1cd7f240bcc1 (diff)
downloadseabios-hppa-4c0c85ab862bd042e84624ddc06cf87c0ed6cc47.zip
seabios-hppa-4c0c85ab862bd042e84624ddc06cf87c0ed6cc47.tar.gz
seabios-hppa-4c0c85ab862bd042e84624ddc06cf87c0ed6cc47.tar.bz2
Initial support for finding option roms in coreboot flash layout.
Add code to search for roms in the "coreboot file system". Change hardcode option rom detection to use vendor/deviceid instead of bus/device/fn. Move streq() function to generic place so cbfs functions can use it.
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/config.h b/src/config.h
index a882afc..70a9051 100644
--- a/src/config.h
+++ b/src/config.h
@@ -59,11 +59,13 @@
#define CONFIG_OPTIONROMS 1
// Set if option roms are already copied to 0xc0000-0xf0000
#define CONFIG_OPTIONROMS_DEPLOYED 1
+// Support searching coreboot flash format.
+#define CONFIG_COREBOOT_FLASH 0
// When option roms are not pre-deployed, SeaBIOS can copy an optionrom
// from flash for up to 2 devices.
-#define OPTIONROM_BDF_1 0x0000
+#define OPTIONROM_VENDEV_1 0x00000000
#define OPTIONROM_MEM_1 0x00000000
-#define OPTIONROM_BDF_2 0x0000
+#define OPTIONROM_VENDEV_2 0x00000000
#define OPTIONROM_MEM_2 0x00000000
// Support an interactive boot menu at end of post.
#define CONFIG_BOOTMENU 1