diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2021-02-13 08:43:37 +0100 |
---|---|---|
committer | Angel Pons <th3fanbus@gmail.com> | 2021-02-16 20:57:56 +0000 |
commit | 98f7d60d977e757e607a28de67aad0b3cb15d387 (patch) | |
tree | 57eedcf69a0d82d81edef9b28447cbe4f26fcf2b | |
parent | 608a75c05acc75eb95f51848f00ab084ecf1aeae (diff) |
nb/intel/i945: Use UPMC4 macro
Change-Id: Id3fb39edb0f14d48b9ea84b882fc46790fc37524
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/50632
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r-- | src/northbridge/intel/i945/raminit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/northbridge/intel/i945/raminit.c b/src/northbridge/intel/i945/raminit.c index acb009f5b1..6b1bdb944e 100644 --- a/src/northbridge/intel/i945/raminit.c +++ b/src/northbridge/intel/i945/raminit.c @@ -2286,10 +2286,10 @@ static void sdram_power_management(struct sys_info *sysinfo) MCHBAR32(PMCFG) |= (1 << 4); - reg32 = MCHBAR32(0xc30); + reg32 = MCHBAR32(UPMC4); reg32 &= 0xffffff00; reg32 |= 0x01; - MCHBAR32(0xc30) = reg32; + MCHBAR32(UPMC4) = reg32; MCHBAR32(0xb18) &= ~(1 << 21); } |