diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-03-11 18:26:01 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-03-14 11:49:43 +0000 |
commit | 9421727c708e6b30831a24c190938ea2951a771b (patch) | |
tree | bf4fd449abc4bdcc0d097301fed98069c8ab80fd /src/drivers/i2c/i2cmux2 | |
parent | eed64473fdc6056ad96557f7e16e22855816746e (diff) |
arch/x86: Fix PCI IO config accessor
In case PCI_IO_CFG_EXT=n parameter 'reg' was not
properly truncated to 8 bits and it would overflow
to dev.fn part of the register.
A similar thing could happen with 'dev' but that
value originates from PCI_DEV() macro unlike 'reg'.
Change-Id: Id2888e07fc0f2b182b4633a747c1786e5c560678
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/31847
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers/i2c/i2cmux2')
0 files changed, 0 insertions, 0 deletions