From 5c84f87fcf76ca8cb3e9a1b3233bab16cdeb6d31 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Tue, 12 Sep 2017 21:18:14 +0200 Subject: [PATCH] nb/intel/i945/early_init.c: Replace numbers with macros Change-Id: I270d17a2eff2c6664bf936425a6ed344be3feabe Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/21524 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Nico Huber Reviewed-by: Sumeet R Pawnikar --- src/northbridge/intel/i945/early_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/northbridge/intel/i945/early_init.c b/src/northbridge/intel/i945/early_init.c index 0abd42eec8..bf486a0aaf 100644 --- a/src/northbridge/intel/i945/early_init.c +++ b/src/northbridge/intel/i945/early_init.c @@ -175,7 +175,7 @@ static void i945_setup_bars(void) 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 */