coreboot/src/soc/amd
Felix Held 1591f8437c soc/amd/common/block/lpc/lpc: simplify index handling in read resources
Now that we don't need to find a specific resource in the set resources
function any more, there's no need to use hard-coded indices for the
fixed resources. Instead use an index variable that gets incremented
after each fixed resource got added. The index now starts at 0 instead
of at 1, but now the only requirement is that those indices are unique.

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: Ida5f1f001c622da2e31474b62832782f5f303a32
Reviewed-on: https://review.coreboot.org/c/coreboot/+/74849
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Himanshu Sahdev <himanshu.sahdev@intel.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
2023-05-04 19:06:09 +00:00
..
cezanne sb,soc/amd,intel: Drop include <cpu/x86/smm.h> 2023-04-29 01:21:23 +00:00
common soc/amd/common/block/lpc/lpc: simplify index handling in read resources 2023-05-04 19:06:09 +00:00
glinda sb,soc/amd,intel: Drop include <cpu/x86/smm.h> 2023-04-29 01:21:23 +00:00
mendocino sb,soc/amd,intel: Drop include <cpu/x86/smm.h> 2023-04-29 01:21:23 +00:00
phoenix soc/amd/phoenix: Add default vBIOS ID and location 2023-05-03 16:06:13 +00:00
picasso sb,soc/amd,intel: Drop include <cpu/x86/smm.h> 2023-04-29 01:21:23 +00:00
stoneyridge soc/amd/stoney/acpi: Unhide PCI0 root device from OS 2023-05-01 14:43:09 +00:00