mainboard/packardbell/ms2290: Use tabs for indents

Change-Id: I1559a2541a93a9969ac68708a04f0468790feb69
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/16844
Tested-by: build bot (Jenkins)
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
This commit is contained in:
Elyes HAOUAS 2016-10-01 09:06:41 +02:00 committed by Martin Roth
parent e5f3611ce3
commit 74295c1fb1
2 changed files with 8 additions and 8 deletions

View File

@ -7,11 +7,11 @@ Scope(\_TZ)
Multiply(Arg0, 10, Local0)
Add (Local0, 2732, Local0)
if (LLessEqual(Local0, 2732)) {
Return (3000)
Return (3000)
}
if (LGreater(Local0, 4012)) {
Return (3000)
Return (3000)
}
Return (Local0)
}
@ -22,10 +22,10 @@ Scope(\_TZ)
Return (C2K(127))
}
Method(_TMP) {
/* Avoid tripping alarm if ME isn't booted at all yet */
If (LAnd (LNot (MEBT), LEqual (\_SB.PCI0.LPCB.EC.TMP0, 128))) {
Return (C2K(40))
}
/* Avoid tripping alarm if ME isn't booted at all yet */
If (LAnd (LNot (MEBT), LEqual (\_SB.PCI0.LPCB.EC.TMP0, 128))) {
Return (C2K(40))
}
Store (1, MEBT)
Return (C2K(\_SB.PCI0.LPCB.EC.TMP0))
}

View File

@ -82,7 +82,7 @@ static void mainboard_enable(device_t dev)
printk(BIOS_SPEW, "SPI configured\n");
int i;
const u8 dmp[256] = {
const u8 dmp[256] = {
0x00, 0x20, 0x00, 0x00, 0x00, 0x02, 0x89, 0xe4, 0x30, 0x00, 0x40, 0x14, 0x00, 0x00, 0x00, 0x11,
0x03, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
@ -99,7 +99,7 @@ static void mainboard_enable(device_t dev)
0x55, 0x5a, 0x57, 0x5c, 0x00, 0x00, 0x00, 0x7e, 0x00, 0x00, 0x00, 0x00, 0x45, 0x00, 0x00, 0x00,
0x52, 0x10, 0x52, 0x10, 0x64, 0x00, 0x00, 0x00, 0x74, 0x30, 0x00, 0x60, 0x00, 0x00, 0xaf, 0x0b,
0x30, 0x45, 0x2e, 0x30, 0x38, 0x41, 0x43, 0x2e, 0x30, 0x31, 0x2e, 0x31, 0x36, 0x20, 0x00, 0x00,
};
};
for (i = 0; i < 256; i++)
ec_write (i, dmp[i]);