diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2021-11-04 04:44:54 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-11-05 16:24:59 +0000 |
commit | 996808e52a19354de37cc29f8bb50296aa543c99 (patch) | |
tree | 6fecaf258954331cffd25b0e2e85cc207fc890d2 /src/superio/ite | |
parent | be7692a20cf323bb257de480957bba12428a973a (diff) |
soc/amd/*/include/smi: fix off-by-one in SCIMAPS defines
SCIMAPS is the total number of SCI to GEVENT mappings. configure_scimap
returns early when the scimap is greater or equal than SCIMAPS, so for
SMITYPE_ACDC_TIMER it returned early without doing what was expected
from it to do despite that being a valid value, so fix this off-by-one.
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: Ibaf8c5618ddbf0b8d4cd612a7f1347d8562bbfcb
Reviewed-on: https://review.coreboot.org/c/coreboot/+/58952
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Diffstat (limited to 'src/superio/ite')
0 files changed, 0 insertions, 0 deletions