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

Change-Id: If9ca551794a52e47a3649b126c3f061a68c494e4
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32897
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:52:58 +02:00 committed by Patrick Georgi
parent 0c89c1c05e
commit f00d37342c
1 changed files with 3 additions and 5 deletions

View File

@ -119,9 +119,7 @@ static void early_graphics_setup(void)
static void early_misc_setup(void) static void early_misc_setup(void)
{ {
u32 reg32; MCHBAR32(0x30);
reg32 = MCHBAR32(0x30);
MCHBAR32(0x30) = 0x21800; MCHBAR32(0x30) = 0x21800;
DMIBAR32(0x2c) = 0x86000040; DMIBAR32(0x2c) = 0x86000040;
pci_write_config32(PCI_DEV(0, 0x1e, 0), 0x18, 0x00020200); pci_write_config32(PCI_DEV(0, 0x1e, 0), 0x18, 0x00020200);
@ -129,9 +127,9 @@ static void early_misc_setup(void)
early_graphics_setup(); early_graphics_setup();
reg32 = MCHBAR32(0x40); MCHBAR32(0x40);
MCHBAR32(0x40) = 0x0; MCHBAR32(0x40) = 0x0;
reg32 = MCHBAR32(0x40); MCHBAR32(0x40);
MCHBAR32(0x40) = 0x8; MCHBAR32(0x40) = 0x8;
pci_write_config8(LPC, 0x8, 0x1d); pci_write_config8(LPC, 0x8, 0x1d);