nb/intel/x4x: Remove variable set but not used
Change-Id: I142ae6f7806b3f57b98a158e8f26592aed8fa452 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32939 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
@@ -1317,7 +1317,6 @@ static u32 mirror_shift_bit(const u32 data, u8 bit)
|
|||||||
void send_jedec_cmd(const struct sysinfo *s, u8 r, u8 ch, u8 cmd, u32 val)
|
void send_jedec_cmd(const struct sysinfo *s, u8 r, u8 ch, u8 cmd, u32 val)
|
||||||
{
|
{
|
||||||
u32 addr = test_address(ch, r);
|
u32 addr = test_address(ch, r);
|
||||||
volatile u32 rubbish;
|
|
||||||
u8 data8 = cmd;
|
u8 data8 = cmd;
|
||||||
u32 data32;
|
u32 data32;
|
||||||
|
|
||||||
@@ -1337,7 +1336,7 @@ void send_jedec_cmd(const struct sysinfo *s, u8 r, u8 ch, u8 cmd, u32 val)
|
|||||||
}
|
}
|
||||||
data32 <<= 3;
|
data32 <<= 3;
|
||||||
|
|
||||||
rubbish = read32((void *)((data32 | addr)));
|
read32((void *)((data32 | addr)));
|
||||||
udelay(10);
|
udelay(10);
|
||||||
MCHBAR8_AND_OR(0x271, ~0x3e, NORMALOP_CMD);
|
MCHBAR8_AND_OR(0x271, ~0x3e, NORMALOP_CMD);
|
||||||
MCHBAR8_AND_OR(0x671, ~0x3e, NORMALOP_CMD);
|
MCHBAR8_AND_OR(0x671, ~0x3e, NORMALOP_CMD);
|
||||||
|
Reference in New Issue
Block a user