summaryrefslogtreecommitdiff
path: root/src/mainboard/google/kahlee/Kconfig
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2023-04-29 02:56:07 +0200
committerFelix Held <felix-coreboot@felixheld.de>2023-05-04 19:06:09 +0000
commit1591f8437c7abd1a65e585012d82a4ecaf6cebad (patch)
tree4d49bd58771a9f4b4f9e0caa9bf4f30f7c12e868 /src/mainboard/google/kahlee/Kconfig
parentb70b980ddad48717bfd57a34716d6e4a5d80d212 (diff)
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>
Diffstat (limited to 'src/mainboard/google/kahlee/Kconfig')
0 files changed, 0 insertions, 0 deletions