summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/soc/intel/broadwell/pch/lpc.c2
-rw-r--r--src/southbridge/intel/lynxpoint/lpc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/broadwell/pch/lpc.c b/src/soc/intel/broadwell/pch/lpc.c
index 45669b3987..5c4103d79a 100644
--- a/src/soc/intel/broadwell/pch/lpc.c
+++ b/src/soc/intel/broadwell/pch/lpc.c
@@ -470,7 +470,7 @@ static void pch_lpc_add_mmio_resources(struct device *dev)
*/
res = new_resource(dev, OIC);
res->base = default_decode_base;
- res->size = 0 - default_decode_base;
+ res->size = 4ull * GiB - default_decode_base;
res->flags = IORESOURCE_MEM | IORESOURCE_ASSIGNED | IORESOURCE_FIXED;
/* RCBA */
diff --git a/src/southbridge/intel/lynxpoint/lpc.c b/src/southbridge/intel/lynxpoint/lpc.c
index 73cf37f921..7ae847b79b 100644
--- a/src/southbridge/intel/lynxpoint/lpc.c
+++ b/src/southbridge/intel/lynxpoint/lpc.c
@@ -624,7 +624,7 @@ static void pch_lpc_add_mmio_resources(struct device *dev)
*/
res = new_resource(dev, OIC);
res->base = default_decode_base;
- res->size = 0 - default_decode_base;
+ res->size = 4ull * GiB - default_decode_base;
res->flags = IORESOURCE_MEM | IORESOURCE_ASSIGNED | IORESOURCE_FIXED;
/* RCBA */