summaryrefslogtreecommitdiff
path: root/src/mainboard/packardbell
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/packardbell')
-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]);