summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2016-05-05 15:00:01 -0500
committerAaron Durbin <adurbin@chromium.org>2016-05-06 16:50:27 +0200
commit7ec9b6c6acb42ce1dc1fd46f0fd232d8794aea8d (patch)
tree7a889f65020e7cbbb4f0cd2e6f96b50160bf6e52 /src/soc
parentf5ff854c3678e8fe140dcc5c2f4595ee70ddfe4f (diff)
soc/intel/apollolake: fix incorrect bdsm -> tolud memory resources
The wrong base address was being used for the region of memory between BDSM and TOLUD. This resulted in a very large reserved region starting at TOLUD instead of BDSM. Change-Id: I41d06267ffa93ea47aa059f4ddb7b9c349e51583 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/14628 Tested-by: build bot (Jenkins) Reviewed-by: Duncan Laurie <dlaurie@google.com> Reviewed-by: Andrey Petrov <andrey.petrov@intel.com> Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/intel/apollolake/northbridge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/apollolake/northbridge.c b/src/soc/intel/apollolake/northbridge.c
index b3ae705b41..cc097ba85f 100644
--- a/src/soc/intel/apollolake/northbridge.c
+++ b/src/soc/intel/apollolake/northbridge.c
@@ -125,7 +125,7 @@ static int mc_add_dram_resources(device_t dev, int index)
mmio_resource(dev, index++, bgsm / KiB, (bdsm - bgsm) / KiB);
/* BDSM -> TOLUD */
- mmio_resource(dev, index++, tolud / KiB, (tolud - bdsm) / KiB);
+ mmio_resource(dev, index++, bdsm / KiB, (tolud - bdsm) / KiB);
/* 4G -> TOUUD */
base_k = 4ULL*GiB / KiB;