diff options
author | Tim Wawrzynczak <twawrzynczak@chromium.org> | 2022-02-08 12:50:46 -0700 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-02-11 14:09:23 +0000 |
commit | 7a91a10c615b50be6eb634c1f383e47c1fa2321d (patch) | |
tree | c0c5060ba5057ef1feb95f0f7c3b1bbd4ab54ca9 /src/soc/mediatek/common/mcupm.c | |
parent | eb1891a9a86e79e8956bfe353fc47058f812059e (diff) |
src/soc/intel/common/block/i2c: Use early BAR in ENV_PAYLOAD_LOADER
There may be occasions where an I2C device was initialized during
"early initialization," but when used again in ENV_PAYLOAD_LOADER
before resource allocation happens, it would currently return that it
has not been assigned a BAR. However, because of the early BAR
assigned to it, it should still be valid to use that until proper
resources have been assigned, therefore return any BAR that may have
been assigned to the device during early initialization.
Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Change-Id: I8ab599199592a72ae96cd9f95accfaa0d84e66b6
Reviewed-on: https://review.coreboot.org/c/coreboot/+/61719
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Subrata Banik <subratabanik@google.com>
Diffstat (limited to 'src/soc/mediatek/common/mcupm.c')
0 files changed, 0 insertions, 0 deletions