summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-09-10 11:35:21 +0200
committerMichael Niewöhner <foss@mniewoehner.de>2020-09-21 15:57:10 +0000
commit7c9ad7efdb902c8d37b7b1434a19e5a7264a13fc (patch)
tree8039b78ea8030c7b7b7a19f86cd300dd2e407202 /src/mainboard/lenovo
parentf219cd8342ba8088eb3c48aac71d4975a35527ac (diff)
mb/lenovo: Drop unneeded empty lines
Change-Id: Icad51da75d99dd541f8f2621a16eae13a596d264 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/44618 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Diffstat (limited to 'src/mainboard/lenovo')
-rw-r--r--src/mainboard/lenovo/g505s/OemCustomize.c1
-rw-r--r--src/mainboard/lenovo/g505s/acpi/gpe.asl1
-rw-r--r--src/mainboard/lenovo/g505s/mainboard.c1
-rw-r--r--src/mainboard/lenovo/l520/acpi_tables.c1
-rw-r--r--src/mainboard/lenovo/t400/acpi_tables.c1
-rw-r--r--src/mainboard/lenovo/t60/dock.c1
-rw-r--r--src/mainboard/lenovo/x200/acpi_tables.c1
-rw-r--r--src/mainboard/lenovo/x60/early_init.c1
8 files changed, 0 insertions, 8 deletions
diff --git a/src/mainboard/lenovo/g505s/OemCustomize.c b/src/mainboard/lenovo/g505s/OemCustomize.c
index 2cca51e0a5..21a0941ccd 100644
--- a/src/mainboard/lenovo/g505s/OemCustomize.c
+++ b/src/mainboard/lenovo/g505s/OemCustomize.c
@@ -6,7 +6,6 @@
#include <northbridge/amd/agesa/state_machine.h>
#include <PlatformMemoryConfiguration.h>
-
/*
* Lane ID Mapping (from Fam15h BKDG: Table 45: Lane Id Mapping)
*
diff --git a/src/mainboard/lenovo/g505s/acpi/gpe.asl b/src/mainboard/lenovo/g505s/acpi/gpe.asl
index 9ec85a07f0..910d2e66a8 100644
--- a/src/mainboard/lenovo/g505s/acpi/gpe.asl
+++ b/src/mainboard/lenovo/g505s/acpi/gpe.asl
@@ -30,7 +30,6 @@ Scope(\_GPE) { /* Start Scope GPE */
/* DBGO("\\_GPE\\_L10\n") */
}
-
/* ExtEvent1 SCI event */
Method(_L11) {
/* DBGO("\\_GPE\\_L11\n") */
diff --git a/src/mainboard/lenovo/g505s/mainboard.c b/src/mainboard/lenovo/g505s/mainboard.c
index 8339626b9f..d900c94069 100644
--- a/src/mainboard/lenovo/g505s/mainboard.c
+++ b/src/mainboard/lenovo/g505s/mainboard.c
@@ -26,7 +26,6 @@ static void mainboard_enable(struct device *dev)
if (!acpi_is_wakeup_s3())
pavilion_cold_boot_init();
-
}
struct chip_operations mainboard_ops = {
diff --git a/src/mainboard/lenovo/l520/acpi_tables.c b/src/mainboard/lenovo/l520/acpi_tables.c
index 6f69102dbc..0f32e9f90c 100644
--- a/src/mainboard/lenovo/l520/acpi_tables.c
+++ b/src/mainboard/lenovo/l520/acpi_tables.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-
#include <acpi/acpi_gnvs.h>
#include <southbridge/intel/bd82x6x/nvs.h>
diff --git a/src/mainboard/lenovo/t400/acpi_tables.c b/src/mainboard/lenovo/t400/acpi_tables.c
index 14b5a8bbe9..b26996e438 100644
--- a/src/mainboard/lenovo/t400/acpi_tables.c
+++ b/src/mainboard/lenovo/t400/acpi_tables.c
@@ -46,6 +46,5 @@ unsigned long acpi_fill_madt(unsigned long current)
current += acpi_create_madt_irqoverride((acpi_madt_irqoverride_t *)
current, 0, 9, 9, MP_IRQ_POLARITY_HIGH | MP_IRQ_TRIGGER_LEVEL);
-
return current;
}
diff --git a/src/mainboard/lenovo/t60/dock.c b/src/mainboard/lenovo/t60/dock.c
index 55be0389a4..363a43a8ba 100644
--- a/src/mainboard/lenovo/t60/dock.c
+++ b/src/mainboard/lenovo/t60/dock.c
@@ -147,7 +147,6 @@ static int dock_superio_init(void)
dock_gpio_set_mode(0x07, PC87384_GPIO_PIN_DEBOUNCE |
PC87384_GPIO_PIN_PULLUP, 0x00);
-
/* no GPIO events enabled for PORT0 */
outb(0x00, 0x1622);
/* clear GPIO events on PORT0 */
diff --git a/src/mainboard/lenovo/x200/acpi_tables.c b/src/mainboard/lenovo/x200/acpi_tables.c
index 14b5a8bbe9..b26996e438 100644
--- a/src/mainboard/lenovo/x200/acpi_tables.c
+++ b/src/mainboard/lenovo/x200/acpi_tables.c
@@ -46,6 +46,5 @@ unsigned long acpi_fill_madt(unsigned long current)
current += acpi_create_madt_irqoverride((acpi_madt_irqoverride_t *)
current, 0, 9, 9, MP_IRQ_POLARITY_HIGH | MP_IRQ_TRIGGER_LEVEL);
-
return current;
}
diff --git a/src/mainboard/lenovo/x60/early_init.c b/src/mainboard/lenovo/x60/early_init.c
index fc7394617b..3add1952cd 100644
--- a/src/mainboard/lenovo/x60/early_init.c
+++ b/src/mainboard/lenovo/x60/early_init.c
@@ -79,7 +79,6 @@ void mainboard_late_rcba_config(void)
RCBA64(IOTR3) = 0x000200f0000c0801ULL;
}
-
void mainboard_get_spd_map(u8 spd_map[4])
{
spd_map[0] = 0x50;