[coreboot-gerrit] New patch to review for coreboot: soc/intel/quark: Reserve non-MMIO space

Leroy P Leahy (leroy.p.leahy@intel.com) gerrit at coreboot.org
Sun Feb 28 20:45:06 CET 2016


Leroy P Leahy (leroy.p.leahy at intel.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/13856

-gerrit

commit b059850f22028961ffb529a35210c49b67ad996c
Author: Lee Leahy <leroy.p.leahy at intel.com>
Date:   Sun Feb 28 11:30:17 2016 -0800

    soc/intel/quark: Reserve non-MMIO space
    
    Adjust the memory map to allocate MMIO from non-memory addresses.
    
    TEST=None
    
    Change-Id: Icb6863665c466e8609af73eb9338165c7d6f46bf
    Signed-off-by: Lee Leahy <leroy.p.leahy at intel.com>
---
 src/soc/intel/quark/northcluster.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/soc/intel/quark/northcluster.c b/src/soc/intel/quark/northcluster.c
index 90ea256..b52c3b7 100644
--- a/src/soc/intel/quark/northcluster.c
+++ b/src/soc/intel/quark/northcluster.c
@@ -59,7 +59,13 @@ static void nc_read_resources(device_t dev)
 	size_k = (unsigned long)cbmem_top() - base_k;
 	ram_resource(dev, index++, RES_IN_KIB(base_k), RES_IN_KIB(size_k));
 
-	/* cbmem_top -> 4GiB is mmio. */
+	/* cbmem_top -> 0xc0000000 - reserved */
+	base_k += size_k;
+	size_k = 0xc0000000 - base_k;
+	reserved_ram_resource(dev, index++, RES_IN_KIB(base_k),
+		RES_IN_KIB(size_k));
+
+	/* 0xc0000000 -> 4GiB is mmio. */
 	base_k += size_k;
 	size_k = 0x100000000ull - base_k;
 	mmio_resource(dev, index++, RES_IN_KIB(base_k), RES_IN_KIB(size_k));



More information about the coreboot-gerrit mailing list