diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2022-03-02 22:57:01 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-03-03 22:45:02 +0000 |
commit | 56b037b857e17691dfb528f969772a8acb28b2c4 (patch) | |
tree | 9fb91dd6bab1b15fb01a7bde774f2d395f83ffca /gnat.adc | |
parent | 49fff57a097dfca9e3a090103b4c42a4f3f57a8e (diff) |
soc/amd/*/northbridge,root_complex: simplify mmconf_resource index
In the northbridge's and root complex' read_resources function, the
mmconf resource used the number of the MMIO_CONF_BASE MSR as index which
might be misleading. Instead use idx++ as a unique index for this
resource.
TEST=Resource allocator doesn't complain and no related warnings or
errors in dmesg. The update_constraints console output changes like
expected:
Before: PCI: 00:00.0 c0010058 base f8000000 limit fbffffff mem (fixed)
After: PCI: 00:00.0 06 base f8000000 limit fbffffff mem (fixed)
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: Id66c6153fad86bed36db7bd2455075f4a0850750
Reviewed-on: https://review.coreboot.org/c/coreboot/+/62545
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Diffstat (limited to 'gnat.adc')
0 files changed, 0 insertions, 0 deletions