[coreboot-gerrit] Change in coreboot[master]: src/soc/intel/braswell/northcluster.c: Reserve local APIC resources
Frans Hendriks (Code Review)
gerrit at coreboot.org
Wed Oct 31 12:15:07 CET 2018
Frans Hendriks has uploaded this change for review. ( https://review.coreboot.org/29375
Change subject: src/soc/intel/braswell/northcluster.c: Reserve local APIC resources
......................................................................
src/soc/intel/braswell/northcluster.c: Reserve local APIC resources
The resources of the local APIC are not reserved.
Use mmio_resource() to add local APIC resources.
BUG=N/A
TEST=Intel CherryHill CRB
Change-Id: Ieb9de45098d507d59f1974eddb7a94cb18ef7903
Signed-off-by: Frans Hendriks <fhendriks at eltan.com>
---
M src/soc/intel/braswell/northcluster.c
1 file changed, 8 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/75/29375/1
diff --git a/src/soc/intel/braswell/northcluster.c b/src/soc/intel/braswell/northcluster.c
index 3245a28..b4964f3 100644
--- a/src/soc/intel/braswell/northcluster.c
+++ b/src/soc/intel/braswell/northcluster.c
@@ -22,6 +22,7 @@
#include <device/pci.h>
#include <device/pci_ids.h>
#include <fsp/memmap.h>
+#include <cpu/x86/lapic.h>
#include <fsp/util.h>
#include <soc/iomap.h>
#include <soc/iosf.h>
@@ -149,6 +150,13 @@
reserved_ram_resource(dev, index++, (0xc0000 >> 10),
(0x100000 - 0xc0000) >> 10);
+ /*
+ * Reserve local APIC
+ */
+ base_k = RES_IN_KIB(LAPIC_DEFAULT_BASE);
+ size_k = (0x00100000/1024);
+ mmio_resource(dev, index++, base_k, size_k);
+
chromeos_reserve_ram_oops(dev, index++);
}
--
To view, visit https://review.coreboot.org/29375
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ieb9de45098d507d59f1974eddb7a94cb18ef7903
Gerrit-Change-Number: 29375
Gerrit-PatchSet: 1
Gerrit-Owner: Frans Hendriks <fhendriks at eltan.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20181031/e6ed25fa/attachment.html>
More information about the coreboot-gerrit
mailing list