nb/intel/x4x/early_init.c: Remove variable set but not used

Change-Id: I8d0ab8bdc506592ef1d731e557b2397481aed725
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32896
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Elyes HAOUAS 2019-05-20 18:39:27 +02:00 committed by Patrick Georgi
parent ce83f3103c
commit 0c89c1c05e
1 changed files with 6 additions and 4 deletions

View File

@ -150,7 +150,6 @@ static void init_egress(void)
static void init_dmi(void)
{
u32 reg32;
u16 reg16;
/* Assume IGD present */
@ -224,9 +223,11 @@ static void init_dmi(void)
/* ASPM on DMI link */
RCBA16(0x1a8) &= ~0x3;
reg16 = RCBA16(0x1a8);
/* FIXME: Do we need to read RCBA16(0x1a8)? */
RCBA16(0x1a8);
RCBA32(0x2010) = (RCBA32(0x2010) & ~(0x3 << 10)) | (1 << 10);
reg32 = RCBA32(0x2010);
/* FIXME: Do we need to read RCBA32(0x2010)? */
RCBA32(0x2010);
/* Set up VC1 max time */
RCBA32(0x1c) = (RCBA32(0x1c) & ~0x7f0000) | 0x120000;
@ -240,7 +241,8 @@ static void init_dmi(void)
DMIBAR16(0x210) = (DMIBAR16(0x210) & ~(0xff7)) | 0x101;
DMIBAR32(0x88) &= ~0x3;
DMIBAR32(0x88) |= 0x3;
reg16 = DMIBAR16(0x88);
/* FIXME: Do we need to read RCBA16(0x88)? */
DMIBAR16(0x88);
}
static void x4x_prepare_resume(int s3resume)