diff options
author | Paul Menzel <paulepanter@users.sourceforge.net> | 2013-10-21 21:22:09 +0200 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2013-11-05 21:35:13 +0100 |
commit | 0ce5ebf0a09bfdc7f93737d441cf46899ed1cc79 (patch) | |
tree | ebe1bf7893b4a5f4b9f48d46754a1e51369bd785 | |
parent | bf22338a0957bb7af765e112dc0c892b119ee525 (diff) |
northbridge/intel/i945/raminit.c: Remove set but unused variable `reg16`
Change-Id: Id4a758644a7b799e7662113c07d395e053525934
Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-on: http://review.coreboot.org/3984
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
-rw-r--r-- | src/northbridge/intel/i945/raminit.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/northbridge/intel/i945/raminit.c b/src/northbridge/intel/i945/raminit.c index b50f1d80a1..512d8e9260 100644 --- a/src/northbridge/intel/i945/raminit.c +++ b/src/northbridge/intel/i945/raminit.c @@ -1952,8 +1952,6 @@ static void sdram_set_channel_mode(struct sys_info *sysinfo) static void sdram_program_pll_settings(struct sys_info *sysinfo) { - volatile u16 reg16; - MCHBAR32(PLLMON) = 0x80800000; sysinfo->fsb_frequency = fsbclk(); @@ -1970,7 +1968,7 @@ static void sdram_program_pll_settings(struct sys_info *sysinfo) MCHBAR16(CPCTL) &= ~(1 << 11); - reg16 = MCHBAR16(CPCTL); /* Read back register to activate settings */ + MCHBAR16(CPCTL); /* Read back register to activate settings */ } static void sdram_program_graphics_frequency(struct sys_info *sysinfo) |