Angel Pons has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/52093 )
Change subject: soc/intel: Do not bridge I/O resources with base=0 to LPC ......................................................................
soc/intel: Do not bridge I/O resources with base=0 to LPC
When the base of an I/O resource is zero, it usually means the resource is not used. Skip trying to bridge them to LPC to avoid wasting LPC I/O decode windows, of which there aren't many to begin with.
Change-Id: I69468db641ad8c1bf056b6871e812196e784e515 Signed-off-by: Angel Pons th3fanbus@gmail.com --- M src/soc/intel/common/block/lpc/lpc_lib.c 1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/93/52093/1
diff --git a/src/soc/intel/common/block/lpc/lpc_lib.c b/src/soc/intel/common/block/lpc/lpc_lib.c index 73a4727..cff691c 100644 --- a/src/soc/intel/common/block/lpc/lpc_lib.c +++ b/src/soc/intel/common/block/lpc/lpc_lib.c @@ -75,6 +75,9 @@ printk(BIOS_SPEW, "LPC: Trying to open IO window from %x size %x\n", base, size);
+ if (base == 0) + return; + bridged_size = 0; bridge_base = base;