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>
This commit is contained in:
parent
f5ff854c36
commit
7ec9b6c6ac
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue