diff options
author | Raul E Rangel <rrangel@chromium.org> | 2021-07-16 14:03:21 -0600 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-07-20 16:51:25 +0000 |
commit | a736f480883e544b2131c966cdfb80bb42e751b3 (patch) | |
tree | f741fb798f4cdc3820031866aee70901251336c4 /src/include | |
parent | 21863e33c808c45c3a3db6ae432675d768832a50 (diff) |
lib/cbfs,device/pci_rom: Move cbfs_boot_map_optionrom and modernize
These methods are oprom specific. Move them out of CBFS. I also deleted
the tohex methods and replaced them with snprintf.
BUG=b:179699789
TEST=Boot guybrush and see oprom still loads
Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Change-Id: I03791f19c93fabfe62d9ecd4f9b4fad0e6a6146e
Reviewed-on: https://review.coreboot.org/c/coreboot/+/56393
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/cbfs.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/include/cbfs.h b/src/include/cbfs.h index 9ed5233d03..f27c60f6f5 100644 --- a/src/include/cbfs.h +++ b/src/include/cbfs.h @@ -160,12 +160,6 @@ int cbfs_boot_locate(struct cbfsf *fh, const char *name, uint32_t *type); int cbfs_locate_file_in_region(struct cbfsf *fh, const char *region_name, const char *name, uint32_t *type); -/* Return mapping of option ROM found in boot device. NULL on error. */ -void *cbfs_boot_map_optionrom(uint16_t vendor, uint16_t device); -/* Return mapping of option ROM with revision number. Returns NULL on error. */ -void *cbfs_boot_map_optionrom_revision(uint16_t vendor, uint16_t device, uint8_t rev); - - /********************************************************************************************** * INTERNAL HELPERS FOR INLINES, DO NOT USE. * **********************************************************************************************/ |