summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2016-10-01 09:06:41 +0200
committerMartin Roth <martinroth@google.com>2016-10-02 19:09:45 +0200
commit74295c1fb1174a9500a684bf11a2a28e76412c2e (patch)
tree59ac713f0c114bb13d6f8c32a312683f384c60a6 /src/mainboard
parente5f3611ce3d11f12c230ddd775d4a5cf0eea8822 (diff)
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>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/packardbell/ms2290/acpi/thermal.asl12
-rw-r--r--src/mainboard/packardbell/ms2290/mainboard.c4
2 files changed, 8 insertions, 8 deletions
diff --git a/src/mainboard/packardbell/ms2290/acpi/thermal.asl b/src/mainboard/packardbell/ms2290/acpi/thermal.asl
index 735171b76a..4691bf3ffb 100644
--- a/src/mainboard/packardbell/ms2290/acpi/thermal.asl
+++ b/src/mainboard/packardbell/ms2290/acpi/thermal.asl
@@ -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))
}
diff --git a/src/mainboard/packardbell/ms2290/mainboard.c b/src/mainboard/packardbell/ms2290/mainboard.c
index 99f45d6b41..813715f7cd 100644
--- a/src/mainboard/packardbell/ms2290/mainboard.c
+++ b/src/mainboard/packardbell/ms2290/mainboard.c
@@ -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]);