coreboot-kgpe-d16/src/mainboard/intel/kblrvp
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
..
acpi mb/intel/latest mainboards: Get rid of power button device in coreboot 2020-10-13 03:53:09 +00:00
spd mb: remove duplicated Make code for spd.bin generation 2020-09-06 14:57:06 +00:00
variants soc/intel/skylake: Clean up SD GPIO handling 2021-03-01 19:37:36 +00:00
board_id.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
board_id.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
board_info.txt
bootblock.c mb/intel/kblrvp: do UART pad configuration at board-level 2021-01-21 19:01:58 +00:00
chromeos.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
chromeos.fmd
cmos.layout mb/**/cmos.layout: Drop copy-pasted SNB entries on non-SNB 2020-11-24 17:47:15 +00:00
dsdt.asl ACPI: Move include for <vc/google/chromeos.asl> 2021-01-28 08:59:54 +00:00
ec.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
ec.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
hda_verb.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
Kconfig soc/intel/skylake: Move MAX_CPUS from mb to SoC 2021-01-06 19:34:20 +00:00
Kconfig.name
mainboard.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
Makefile.inc arch/x86: Use wildcard for mb/smihandler.c 2021-01-24 21:06:22 +00:00
ramstage.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
romstage.c spd_bin: Replace get_spd_cbfs_rdev() with spd_cbfs_map() 2021-03-17 08:10:35 +00:00
smihandler.c ACPI GNVS: Replace uses of smm_get_gnvs() 2020-07-01 05:14:24 +00:00