diff options
author | Aaron Durbin <adurbin@chromium.org> | 2020-06-12 16:44:50 -0600 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-06-14 16:51:01 +0000 |
commit | 4a3a73c0425e90a6cffd99d4b06766eff25d171f (patch) | |
tree | 78256e0126ba6ec6c13abe2d8e691cf66b6af16b /src | |
parent | 1e53a89f632e5384c8254f0916405d9cd19396d6 (diff) | |
download | coreboot-4a3a73c0425e90a6cffd99d4b06766eff25d171f.tar.xz |
soc/amd/picasso: correct MCFG ACPI table
The start and end bus number in the MCFG ACPI table is inclusive.
Therefore, the number of buses decoded needs to be subtracted by
1.
BUG=b:158874061
Change-Id: Ic773bc1e0ccaa99af45d1a53919f6480887fa37e
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/42329
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/soc/amd/picasso/acpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/amd/picasso/acpi.c b/src/soc/amd/picasso/acpi.c index fe5879c69a..7704c30a27 100644 --- a/src/soc/amd/picasso/acpi.c +++ b/src/soc/amd/picasso/acpi.c @@ -33,7 +33,7 @@ unsigned long acpi_fill_mcfg(unsigned long current) CONFIG_MMCONF_BASE_ADDRESS, 0, 0, - CONFIG_MMCONF_BUS_NUMBER); + CONFIG_MMCONF_BUS_NUMBER - 1); return current; } |