Another cleanup of struct msr
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@397 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
parent
7044158043
commit
d03c60d51f
1 changed files with 3 additions and 3 deletions
|
|
@ -51,7 +51,7 @@ int smbus_read_byte(unsigned device, unsigned address)
|
|||
|
||||
static void init_gpio(void)
|
||||
{
|
||||
struct msr_struct msr;
|
||||
struct msr msr;
|
||||
printk(BIOS_DEBUG, "Initializing GPIO module...\n");
|
||||
|
||||
// initialize the GPIO LBAR
|
||||
|
|
@ -69,7 +69,7 @@ static void sdram_hardwire(void)
|
|||
* width in bits (byte 6,7)
|
||||
* = Density per side (byte 31) * number of sides (byte 5) */
|
||||
/* 1. Initialize GLMC registers base on SPD values, do one DIMM for now */
|
||||
struct msr_struct msr;
|
||||
struct msr msr;
|
||||
|
||||
msr.hi = 0x10075012;
|
||||
msr.lo = 0x00000040;
|
||||
|
|
@ -109,7 +109,7 @@ static void sdram_hardwire(void)
|
|||
|
||||
struct wmsr {
|
||||
u32 reg;
|
||||
struct msr_struct msr;
|
||||
struct msr msr;
|
||||
} dbe61_msr[] = {
|
||||
{.reg = 0x10000020, {.lo = 0xfff80, .hi = 0x20000000}},
|
||||
{.reg = 0x10000021, {.lo = 0x80fffe0, .hi = 0x20000000}},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue