aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/parrot
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/parrot
parentca36aedb4e71a1b8e1738f5329ce20b6e83d174d (diff)
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/parrot')
-rw-r--r--src/mainboard/google/parrot/acpi/superio.asl1
-rw-r--r--src/mainboard/google/parrot/acpi_tables.c1
-rw-r--r--src/mainboard/google/parrot/ec.c2
-rw-r--r--src/mainboard/google/parrot/hda_verb.c1
-rw-r--r--src/mainboard/google/parrot/mainboard.c1
-rw-r--r--src/mainboard/google/parrot/smihandler.c3
6 files changed, 0 insertions, 9 deletions
diff --git a/src/mainboard/google/parrot/acpi/superio.asl b/src/mainboard/google/parrot/acpi/superio.asl
index 2265c82bbb..d13b0bd5c5 100644
--- a/src/mainboard/google/parrot/acpi/superio.asl
+++ b/src/mainboard/google/parrot/acpi/superio.asl
@@ -3,7 +3,6 @@
/* mainboard configuration */
#include "../ec.h"
-
#define SIO_EC_ENABLE_PS2K // Enable PS/2 Keyboard
/* ACPI code for EC SuperIO functions */
diff --git a/src/mainboard/google/parrot/acpi_tables.c b/src/mainboard/google/parrot/acpi_tables.c
index 3332286a29..62e52c483f 100644
--- a/src/mainboard/google/parrot/acpi_tables.c
+++ b/src/mainboard/google/parrot/acpi_tables.c
@@ -22,7 +22,6 @@ void acpi_create_gnvs(struct global_nvs *gnvs)
gnvs->s5u0 = 0;
gnvs->s5u1 = 0;
-
#if CONFIG(CHROMEOS)
gnvs->chromeos.vbt2 = parrot_ec_running_ro() ?
ACTIVE_ECFW_RO : ACTIVE_ECFW_RW;
diff --git a/src/mainboard/google/parrot/ec.c b/src/mainboard/google/parrot/ec.c
index d98edecb01..3aa58c35a6 100644
--- a/src/mainboard/google/parrot/ec.c
+++ b/src/mainboard/google/parrot/ec.c
@@ -7,7 +7,6 @@
#include <ec/compal/ene932/ec.h>
#include "ec.h"
-
void parrot_ec_init(void)
{
printk(BIOS_DEBUG, "Parrot EC Init\n");
@@ -53,7 +52,6 @@ void parrot_ec_init(void)
ec_kbc_write_ib(0xA2);
}
-
/* Parrot Hardware Revision */
u8 parrot_rev(void)
{
diff --git a/src/mainboard/google/parrot/hda_verb.c b/src/mainboard/google/parrot/hda_verb.c
index 9d58a0e46d..1c838a390b 100644
--- a/src/mainboard/google/parrot/hda_verb.c
+++ b/src/mainboard/google/parrot/hda_verb.c
@@ -23,7 +23,6 @@ const u32 cim_verb_data[] = {
0x10250742, // Subsystem ID
0x0000000E, // Number of jacks (NID entries)
-
/* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x10250742 */
AZALIA_SUBVENDOR(0, 0x10250742),
diff --git a/src/mainboard/google/parrot/mainboard.c b/src/mainboard/google/parrot/mainboard.c
index 4e031d3dfb..16695dbeb8 100644
--- a/src/mainboard/google/parrot/mainboard.c
+++ b/src/mainboard/google/parrot/mainboard.c
@@ -18,7 +18,6 @@ void mainboard_suspend_resume(void)
apm_control(APM_CNT_ACPI_ENABLE);
}
-
static void mainboard_init(struct device *dev)
{
/* Initialize the Embedded Controller */
diff --git a/src/mainboard/google/parrot/smihandler.c b/src/mainboard/google/parrot/smihandler.c
index a359e06af3..22e372dead 100644
--- a/src/mainboard/google/parrot/smihandler.c
+++ b/src/mainboard/google/parrot/smihandler.c
@@ -54,13 +54,10 @@ void mainboard_smi_sleep(u8 slp_typ)
printk(BIOS_DEBUG, "mainboard_smi_sleep: %x\n", slp_typ);
/* Disable SCI and SMI events */
-
/* Clear pending events that may trigger immediate wake */
-
/* Enable wake events */
-
/* Tell the EC to Disable USB power */
if (gnvs->s3u0 == 0 && gnvs->s3u1 == 0) {
ec_kbc_write_cmd(0x45);