nb/intel/pineview/raminit.c: Remove variable set but not used
Change-Id: I4faf698e904c461803e867d212c31958119cc0ca Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32941 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:
parent
26307c7385
commit
af159d4416
|
@ -1835,7 +1835,6 @@ static void sdram_dradrb(struct sysinfo *s)
|
||||||
|
|
||||||
static u8 sampledqs(u32 dqshighaddr, u32 strobeaddr, u8 highlow, u8 count)
|
static u8 sampledqs(u32 dqshighaddr, u32 strobeaddr, u8 highlow, u8 count)
|
||||||
{
|
{
|
||||||
volatile u32 strobedata;
|
|
||||||
u8 dqsmatches = 1;
|
u8 dqsmatches = 1;
|
||||||
while (count--) {
|
while (count--) {
|
||||||
MCHBAR8(0x5d8) = MCHBAR8(0x5d8) & ~0x2;
|
MCHBAR8(0x5d8) = MCHBAR8(0x5d8) & ~0x2;
|
||||||
|
@ -1843,7 +1842,7 @@ static u8 sampledqs(u32 dqshighaddr, u32 strobeaddr, u8 highlow, u8 count)
|
||||||
MCHBAR8(0x5d8) = MCHBAR8(0x5d8) | 0x2;
|
MCHBAR8(0x5d8) = MCHBAR8(0x5d8) | 0x2;
|
||||||
hpet_udelay(1);
|
hpet_udelay(1);
|
||||||
barrier();
|
barrier();
|
||||||
strobedata = read32((void *)strobeaddr);
|
read32((void *)strobeaddr);
|
||||||
barrier();
|
barrier();
|
||||||
hpet_udelay(1);
|
hpet_udelay(1);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue