summaryrefslogtreecommitdiffstats
path: root/src/mainboard/google/stout
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-09-10 11:34:54 +0200
committerMichael Niewöhner <foss@mniewoehner.de>2020-09-22 17:14:10 +0000
commit261226dd42d861a1147bdfb0ccc48d9241b3fc72 (patch)
tree82e55027bf08dd7e836a8ccb53a4e021b7d3e3dd /src/mainboard/google/stout
parentca36aedb4e71a1b8e1738f5329ce20b6e83d174d (diff)
downloadcoreboot-261226dd42d861a1147bdfb0ccc48d9241b3fc72.tar.gz
coreboot-261226dd42d861a1147bdfb0ccc48d9241b3fc72.tar.bz2
coreboot-261226dd42d861a1147bdfb0ccc48d9241b3fc72.zip
mb/google: Drop unneeded empty lines
Change-Id: I4151d1a6ce94763432f307fbc8bc4afe229856ea Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/44616 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Diffstat (limited to 'src/mainboard/google/stout')
-rw-r--r--src/mainboard/google/stout/acpi_tables.c1
-rw-r--r--src/mainboard/google/stout/ec.c3
-rw-r--r--src/mainboard/google/stout/mainboard.c2
3 files changed, 0 insertions, 6 deletions
diff --git a/src/mainboard/google/stout/acpi_tables.c b/src/mainboard/google/stout/acpi_tables.c
index 27b6eca1f628..f994e57912db 100644
--- a/src/mainboard/google/stout/acpi_tables.c
+++ b/src/mainboard/google/stout/acpi_tables.c
@@ -23,7 +23,6 @@ void acpi_create_gnvs(struct global_nvs *gnvs)
gnvs->s5u0 = 0;
gnvs->s5u1 = 0;
-
#if CONFIG(CHROMEOS)
gnvs->chromeos.vbt2 = get_recovery_mode_switch() ?
ACTIVE_ECFW_RO : ACTIVE_ECFW_RW;
diff --git a/src/mainboard/google/stout/ec.c b/src/mainboard/google/stout/ec.c
index 6e9b490917ad..05ff973a4717 100644
--- a/src/mainboard/google/stout/ec.c
+++ b/src/mainboard/google/stout/ec.c
@@ -55,14 +55,12 @@ void stout_ec_finalize_smm(void)
critical_shutdown = 1;
}
-
/* Thermal Device Error : Peripheral Status 3 (0x35) bit 8 */
if (ec_reg & 0x80) {
printk(BIOS_ERR, " EC Thermal Device Error\n");
critical_shutdown = 1;
}
-
/* Critical Battery Error */
ec_reg = ec_read(EC_MBAT_STATUS);
@@ -75,7 +73,6 @@ void stout_ec_finalize_smm(void)
printk(BIOS_ERR, " EC Read Battery Error\n");
}
-
if (critical_shutdown) {
printk(BIOS_ERR, "EC critical_shutdown");
diff --git a/src/mainboard/google/stout/mainboard.c b/src/mainboard/google/stout/mainboard.c
index 29a69237267a..7f4e29d2e8af 100644
--- a/src/mainboard/google/stout/mainboard.c
+++ b/src/mainboard/google/stout/mainboard.c
@@ -17,8 +17,6 @@ void mainboard_suspend_resume(void)
ec_write_cmd(EC_CMD_NOTIFY_ACPI_ENTER);
}
-
-
static void mainboard_init(struct device *dev)
{
struct device *ethernet_dev = NULL;