coreboot-kgpe-d16/src/soc/intel
Julius Werner a9b44f4c79 spd_bin: Replace get_spd_cbfs_rdev() with spd_cbfs_map()
In pursuit of the goal of eliminating the proliferation of raw region
devices to represent CBFS files outside of the CBFS core code, this
patch removes the get_spd_cbfs_rdev() API and instead replaces it with
spd_cbfs_map() which will find and map the SPD file in one go and return
a pointer to the relevant section. (This makes it impossible to unmap
the mapping again, which all but one of the users didn't bother to do
anyway since the API is only used on platforms with memory-mapped
flash. Presumably this will stay that way in the future so this is not
something worth worrying about.)

Signed-off-by: Julius Werner <jwerner@chromium.org>
Change-Id: Iec7571bec809f2f0712e7a97b4c853b8b40702d1
Reviewed-on: https://review.coreboot.org/c/coreboot/+/50350
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Wim Vervoorn <wvervoorn@eltan.com>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2021-03-17 08:10:35 +00:00
..
alderlake soc/intel/alderlake: Enable CSE Lite driver for ADL platform in romstage 2021-03-17 08:01:14 +00:00
apollolake soc/intel/*: drop UART pad configuration from common code 2021-03-12 08:48:03 +00:00
baytrail cbfs: Remove prog_locate() for stages and rmodules 2021-03-16 21:45:34 +00:00
braswell soc/intel/braswell: Factor out common acpi_fill_madt 2021-03-12 15:41:35 +00:00
broadwell cbfs: Remove prog_locate() for stages and rmodules 2021-03-16 21:45:34 +00:00
cannonlake spd_bin: Replace get_spd_cbfs_rdev() with spd_cbfs_map() 2021-03-17 08:10:35 +00:00
common spd_bin: Replace get_spd_cbfs_rdev() with spd_cbfs_map() 2021-03-17 08:10:35 +00:00
denverton_ns soc/intel/denverton_ns: Drop pcidev_path_on_root_debug usage 2021-02-27 09:40:17 +00:00
elkhartlake spd_bin: Replace get_spd_cbfs_rdev() with spd_cbfs_map() 2021-03-17 08:10:35 +00:00
icelake soc/intel/*: drop UART pad configuration from common code 2021-03-12 08:48:03 +00:00
jasperlake spd_bin: Replace get_spd_cbfs_rdev() with spd_cbfs_map() 2021-03-17 08:10:35 +00:00
quark mainboards: Drop PWRS from GNVS 2021-02-11 16:35:32 +00:00
skylake soc/intel/*: drop UART pad configuration from common code 2021-03-12 08:48:03 +00:00
tigerlake soc/intel/tigerlake: Remove obsolete CNVi Bluetooth PCI device 2021-03-15 06:27:15 +00:00
xeon_sp soc/intel/xeon_sp: Set SMI lock 2021-03-09 16:51:13 +00:00
Kconfig