[coreboot-gerrit] Change in coreboot[master]: src/soc/intel/braswell/northcluster.c: Correct Chromeos RAM reservation

Frans Hendriks (Code Review) gerrit at coreboot.org
Mon Oct 29 14:59:38 CET 2018


Frans Hendriks has uploaded this change for review. ( https://review.coreboot.org/29332


Change subject: src/soc/intel/braswell/northcluster.c: Correct Chromeos RAM reservation
......................................................................

src/soc/intel/braswell/northcluster.c: Correct Chromeos RAM reservation

RAM is reserved for Chromeos even when Chrome is not used.
Use CONFIG_CHROMEOS to determine is RAM must be reserved.

BUG=N/A
TEST=Intel CherryHill CRB

Change-Id: I3f55bf96ab2ec66cddbb54de03455a9bfd194682
Signed-off-by: Frans Hendriks <fhendriks at eltan.com>
---
M src/soc/intel/braswell/northcluster.c
1 file changed, 2 insertions(+), 0 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/32/29332/1

diff --git a/src/soc/intel/braswell/northcluster.c b/src/soc/intel/braswell/northcluster.c
index 3245a28..88f7d0c 100644
--- a/src/soc/intel/braswell/northcluster.c
+++ b/src/soc/intel/braswell/northcluster.c
@@ -149,7 +149,9 @@
 	reserved_ram_resource(dev, index++, (0xc0000 >> 10),
 			      (0x100000 - 0xc0000) >> 10);
 
+#if IS_ENABLED(CONFIG_CHROMEOS)
 	chromeos_reserve_ram_oops(dev, index++);
+#endif
 }
 
 static struct device_operations nc_ops = {

-- 
To view, visit https://review.coreboot.org/29332
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: I3f55bf96ab2ec66cddbb54de03455a9bfd194682
Gerrit-Change-Number: 29332
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/20181029/53971eff/attachment-0001.html>


More information about the coreboot-gerrit mailing list