coreboot-kgpe-d16/src/mainboard/intel/icelake_rvp
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
..
spd
variants mb/intel/icelake_rvp: do UART pad config at board-level 2021-01-21 18:41:05 +00:00
board_id.c
board_id.h
board_info.txt
bootblock.c mb/intel/icelake_rvp: do UART pad config at board-level 2021-01-21 18:41:05 +00:00
chromeos.c
chromeos.fmd
dsdt.asl ACPI: Move include for <vc/google/chromeos.asl> 2021-01-28 08:59:54 +00:00
hda_verb.c
Kconfig treewide: rename GENERIC_SPD_BIN to HAVE_SPD_BIN_IN_CBFS 2020-09-23 09:00:47 +00:00
Kconfig.name
mainboard.c
Makefile.inc
romstage_fsp_params.c spd_bin: Replace get_spd_cbfs_rdev() with spd_cbfs_map() 2021-03-17 08:10:35 +00:00