From 7ec9b6c6acb42ce1dc1fd46f0fd232d8794aea8d Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Thu, 5 May 2016 15:00:01 -0500 Subject: 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 Reviewed-on: https://review.coreboot.org/14628 Tested-by: build bot (Jenkins) Reviewed-by: Duncan Laurie Reviewed-by: Andrey Petrov Reviewed-by: Furquan Shaikh Reviewed-by: Paul Menzel --- src/soc/intel/apollolake/northbridge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3