[coreboot-gerrit] Change in coreboot[master]: nb/intel/i945/early_init.c: Replace numbers with macros

HAOUAS Elyes (Code Review) gerrit at coreboot.org
Tue Sep 12 21:22:30 CEST 2017


HAOUAS Elyes has uploaded this change for review. ( https://review.coreboot.org/21524


Change subject: nb/intel/i945/early_init.c: Replace numbers with macros
......................................................................

nb/intel/i945/early_init.c: Replace numbers with macros

Change-Id: I270d17a2eff2c6664bf936425a6ed344be3feabe
Signed-off-by: Elyes HAOUAS <ehaouas at noos.fr>
---
M src/northbridge/intel/i945/early_init.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/24/21524/1

diff --git a/src/northbridge/intel/i945/early_init.c b/src/northbridge/intel/i945/early_init.c
index 0abd42e..bf486a0 100644
--- a/src/northbridge/intel/i945/early_init.c
+++ b/src/northbridge/intel/i945/early_init.c
@@ -175,7 +175,7 @@
 	printk(BIOS_DEBUG, " done.\n");
 
 	/* Enable upper 128bytes of CMOS */
-	RCBA32(0x3400) = (1 << 2);
+	RCBA32(RC) = (1 << 2);
 
 	printk(BIOS_DEBUG, "Setting up static northbridge registers...");
 	/* Set up all hardcoded northbridge BARs */

-- 
To view, visit https://review.coreboot.org/21524
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I270d17a2eff2c6664bf936425a6ed344be3feabe
Gerrit-Change-Number: 21524
Gerrit-PatchSet: 1
Gerrit-Owner: HAOUAS Elyes <ehaouas at noos.fr>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20170912/4141b6c3/attachment.html>


More information about the coreboot-gerrit mailing list