summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-09-10 11:34:01 +0200
committerMichael Niewöhner <foss@mniewoehner.de>2020-09-21 16:24:45 +0000
commit4b7f3151a860b996bc5d42d3513c302d67f08f47 (patch)
tree054201490411810ad7cf07b1c87ec9f721a7dbe1
parent3ff7bcf10e0d07f71ece45267d31ae1f83b04701 (diff)
mb/intel: Drop unneeded empty lines
Change-Id: I3fdc521d30155c4275c336afe03244311f584e71 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/44617 Reviewed-by: Michael Niewöhner <foss@mniewoehner.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/mainboard/intel/baskingridge/acpi_tables.c1
-rw-r--r--src/mainboard/intel/cannonlake_rvp/variants/baseboard/gpio.c2
-rw-r--r--src/mainboard/intel/cedarisland_crb/dsdt.asl1
-rw-r--r--src/mainboard/intel/coffeelake_rvp/variants/baseboard/gpio.c2
-rw-r--r--src/mainboard/intel/d945gclf/acpi/superio.asl1
-rw-r--r--src/mainboard/intel/icelake_rvp/variants/icl_u/gpio.c2
-rw-r--r--src/mainboard/intel/icelake_rvp/variants/icl_y/gpio.c2
-rw-r--r--src/mainboard/intel/jasperlake_rvp/board_id.h1
-rw-r--r--src/mainboard/intel/kblrvp/acpi/dptf.asl2
-rw-r--r--src/mainboard/intel/kblrvp/romstage.c1
-rw-r--r--src/mainboard/intel/kblrvp/variants/rvp7/include/variant/gpio.h2
-rw-r--r--src/mainboard/intel/kblrvp/variants/rvp8/include/variant/gpio.h1
-rw-r--r--src/mainboard/intel/kunimitsu/mainboard.c1
-rw-r--r--src/mainboard/intel/kunimitsu/spd/spd_util.c1
-rw-r--r--src/mainboard/intel/saddlebrook/romstage.c1
-rw-r--r--src/mainboard/intel/strago/acpi/dptf.asl2
-rw-r--r--src/mainboard/intel/strago/com_init.c2
-rw-r--r--src/mainboard/intel/strago/gpio.c4
-rw-r--r--src/mainboard/intel/strago/mainboard.c1
-rw-r--r--src/mainboard/intel/strago/onboard.h3
-rw-r--r--src/mainboard/intel/tglrvp/board_id.h1
21 files changed, 0 insertions, 34 deletions
diff --git a/src/mainboard/intel/baskingridge/acpi_tables.c b/src/mainboard/intel/baskingridge/acpi_tables.c
index fe44d08ff4..c0c488a33f 100644
--- a/src/mainboard/intel/baskingridge/acpi_tables.c
+++ b/src/mainboard/intel/baskingridge/acpi_tables.c
@@ -25,7 +25,6 @@ void acpi_create_gnvs(struct global_nvs *gnvs)
/* TPM Present */
gnvs->tpmp = 1;
-
#if CONFIG(CHROMEOS)
/* Emerald Lake has no EC (?) */
gnvs->chromeos.vbt2 = ACTIVE_ECFW_RO;
diff --git a/src/mainboard/intel/cannonlake_rvp/variants/baseboard/gpio.c b/src/mainboard/intel/cannonlake_rvp/variants/baseboard/gpio.c
index d5449b077f..7201186168 100644
--- a/src/mainboard/intel/cannonlake_rvp/variants/baseboard/gpio.c
+++ b/src/mainboard/intel/cannonlake_rvp/variants/baseboard/gpio.c
@@ -280,8 +280,6 @@ static const struct pad_config gpio_table[] = {
/* Early pad configuration in bootblock */
static const struct pad_config early_gpio_table[] = {
-
-
};
const struct pad_config *__weak variant_gpio_table(size_t *num)
diff --git a/src/mainboard/intel/cedarisland_crb/dsdt.asl b/src/mainboard/intel/cedarisland_crb/dsdt.asl
index 6f408b36da..407ee37624 100644
--- a/src/mainboard/intel/cedarisland_crb/dsdt.asl
+++ b/src/mainboard/intel/cedarisland_crb/dsdt.asl
@@ -26,7 +26,6 @@ DefinitionBlock(
}
-
Device (UNC0)
{
Name (_HID, EisaId ("PNP0A03"))
diff --git a/src/mainboard/intel/coffeelake_rvp/variants/baseboard/gpio.c b/src/mainboard/intel/coffeelake_rvp/variants/baseboard/gpio.c
index 3c753915f9..5700f064b0 100644
--- a/src/mainboard/intel/coffeelake_rvp/variants/baseboard/gpio.c
+++ b/src/mainboard/intel/coffeelake_rvp/variants/baseboard/gpio.c
@@ -579,8 +579,6 @@ static const struct pad_config gpio_table[] = {
/* Early pad configuration in bootblock */
static const struct pad_config early_gpio_table[] = {
-
-
};
const struct pad_config *__weak variant_gpio_table(size_t *num)
diff --git a/src/mainboard/intel/d945gclf/acpi/superio.asl b/src/mainboard/intel/d945gclf/acpi/superio.asl
index bd70025c66..84dd30dcab 100644
--- a/src/mainboard/intel/d945gclf/acpi/superio.asl
+++ b/src/mainboard/intel/d945gclf/acpi/superio.asl
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-
Device (SIO1)
{
Name (_HID, EISAID("PNP0A05"))
diff --git a/src/mainboard/intel/icelake_rvp/variants/icl_u/gpio.c b/src/mainboard/intel/icelake_rvp/variants/icl_u/gpio.c
index c00df81863..286753a820 100644
--- a/src/mainboard/intel/icelake_rvp/variants/icl_u/gpio.c
+++ b/src/mainboard/intel/icelake_rvp/variants/icl_u/gpio.c
@@ -86,8 +86,6 @@ PAD_CFG_GPO(GPP_H0, 1, DEEP),
/* Early pad configuration in bootblock */
static const struct pad_config early_gpio_table[] = {
-
-
};
const struct pad_config *variant_gpio_table(size_t *num)
diff --git a/src/mainboard/intel/icelake_rvp/variants/icl_y/gpio.c b/src/mainboard/intel/icelake_rvp/variants/icl_y/gpio.c
index c00df81863..286753a820 100644
--- a/src/mainboard/intel/icelake_rvp/variants/icl_y/gpio.c
+++ b/src/mainboard/intel/icelake_rvp/variants/icl_y/gpio.c
@@ -86,8 +86,6 @@ PAD_CFG_GPO(GPP_H0, 1, DEEP),
/* Early pad configuration in bootblock */
static const struct pad_config early_gpio_table[] = {
-
-
};
const struct pad_config *variant_gpio_table(size_t *num)
diff --git a/src/mainboard/intel/jasperlake_rvp/board_id.h b/src/mainboard/intel/jasperlake_rvp/board_id.h
index 55b4f52d53..85c7c85f40 100644
--- a/src/mainboard/intel/jasperlake_rvp/board_id.h
+++ b/src/mainboard/intel/jasperlake_rvp/board_id.h
@@ -3,7 +3,6 @@
#ifndef _MAINBOARD_COMMON_BOARD_ID_H_
#define _MAINBOARD_COMMON_BOARD_ID_H_
-
/* Board/FAB ID Command */
#define EC_FAB_ID_CMD 0x0D
diff --git a/src/mainboard/intel/kblrvp/acpi/dptf.asl b/src/mainboard/intel/kblrvp/acpi/dptf.asl
index 763163afe7..af3ae57c8d 100644
--- a/src/mainboard/intel/kblrvp/acpi/dptf.asl
+++ b/src/mainboard/intel/kblrvp/acpi/dptf.asl
@@ -8,8 +8,6 @@
#define DPTF_CPU_ACTIVE_AC3 60
#define DPTF_CPU_ACTIVE_AC4 50
-
-
Name (DTRT, Package () {
/* CPU Throttle Effect on CPU */
Package () { \_SB.PCI0.B0D4, \_SB.PCI0.B0D4, 100, 50, 0, 0, 0, 0 },
diff --git a/src/mainboard/intel/kblrvp/romstage.c b/src/mainboard/intel/kblrvp/romstage.c
index a3fb285d54..79206e00c8 100644
--- a/src/mainboard/intel/kblrvp/romstage.c
+++ b/src/mainboard/intel/kblrvp/romstage.c
@@ -10,7 +10,6 @@
#include <spd_bin.h>
#include "board_id.h"
-
void mainboard_memory_init_params(FSPM_UPD *mupd)
{
FSP_M_CONFIG *mem_cfg;
diff --git a/src/mainboard/intel/kblrvp/variants/rvp7/include/variant/gpio.h b/src/mainboard/intel/kblrvp/variants/rvp7/include/variant/gpio.h
index a658b91545..4ead52c282 100644
--- a/src/mainboard/intel/kblrvp/variants/rvp7/include/variant/gpio.h
+++ b/src/mainboard/intel/kblrvp/variants/rvp7/include/variant/gpio.h
@@ -17,7 +17,6 @@
#define IO_EXPANDER_P2DOUT 0x06
#define IO_EXPANDER_1_ADDR 0x23
-
/* GPE_EC_WAKE */
#define GPE_EC_WAKE GPE0_LAN_WAK
@@ -200,7 +199,6 @@ static const struct pad_config early_gpio_table[] = {
/* UART0_TXD */ PAD_CFG_NF(GPP_C9, NONE, DEEP, NF1),
};
-
#endif
#endif
diff --git a/src/mainboard/intel/kblrvp/variants/rvp8/include/variant/gpio.h b/src/mainboard/intel/kblrvp/variants/rvp8/include/variant/gpio.h
index efa9d67aa0..b2d72c6c9c 100644
--- a/src/mainboard/intel/kblrvp/variants/rvp8/include/variant/gpio.h
+++ b/src/mainboard/intel/kblrvp/variants/rvp8/include/variant/gpio.h
@@ -165,6 +165,5 @@ static const struct pad_config early_gpio_table[] = {
/* UART0_TXD */ PAD_CFG_NF(GPP_C9, NONE, DEEP, NF1),
};
-
#endif
#endif
diff --git a/src/mainboard/intel/kunimitsu/mainboard.c b/src/mainboard/intel/kunimitsu/mainboard.c
index b7c4d5551c..4136c368fd 100644
--- a/src/mainboard/intel/kunimitsu/mainboard.c
+++ b/src/mainboard/intel/kunimitsu/mainboard.c
@@ -44,7 +44,6 @@ static unsigned long mainboard_write_acpi_tables(
if (nhlt_soc_add_dmic_array(nhlt, 2))
printk(BIOS_ERR, "Couldn't add 2CH DMIC array.\n");
-
/* 4 Channel DMIC array. */
if (nhlt_soc_add_dmic_array(nhlt, 4))
printk(BIOS_ERR, "Couldn't add 4CH DMIC arrays.\n");
diff --git a/src/mainboard/intel/kunimitsu/spd/spd_util.c b/src/mainboard/intel/kunimitsu/spd/spd_util.c
index a1faf7e7e2..71643bed05 100644
--- a/src/mainboard/intel/kunimitsu/spd/spd_util.c
+++ b/src/mainboard/intel/kunimitsu/spd/spd_util.c
@@ -49,7 +49,6 @@ void mainboard_fill_rcomp_strength_data(void *rcomp_strength_ptr)
static const u16 StrengthendRcompTarget[5] = {
100, 40, 40, 21, 40 };
-
if (mem_cfg_id == K4E6E304EE_MEM_ID) {
memcpy(rcomp_strength_ptr, StrengthendRcompTarget,
sizeof(StrengthendRcompTarget));
diff --git a/src/mainboard/intel/saddlebrook/romstage.c b/src/mainboard/intel/saddlebrook/romstage.c
index f96add75b7..0d055ab0d2 100644
--- a/src/mainboard/intel/saddlebrook/romstage.c
+++ b/src/mainboard/intel/saddlebrook/romstage.c
@@ -8,7 +8,6 @@
#include "spd/spd.h"
#include <spd_bin.h>
-
void mainboard_memory_init_params(FSPM_UPD *mupd)
{
FSP_M_CONFIG *mem_cfg = &mupd->FspmConfig;
diff --git a/src/mainboard/intel/strago/acpi/dptf.asl b/src/mainboard/intel/strago/acpi/dptf.asl
index d2dacd5eaf..6965066ab0 100644
--- a/src/mainboard/intel/strago/acpi/dptf.asl
+++ b/src/mainboard/intel/strago/acpi/dptf.asl
@@ -5,7 +5,6 @@
#define DPTF_TSR0_PASSIVE 49
#define DPTF_TSR0_CRITICAL 75
-
#define DPTF_TSR1_SENSOR_ID 1
#define DPTF_TSR1_SENSOR_NAME "TMP432_Power_top"
#define DPTF_TSR1_PASSIVE 65
@@ -16,7 +15,6 @@
#define DPTF_TSR2_PASSIVE 49
#define DPTF_TSR2_CRITICAL 75
-
#define DPTF_ENABLE_CHARGER
/* Charger performance states, board-specific values from charger and EC */
diff --git a/src/mainboard/intel/strago/com_init.c b/src/mainboard/intel/strago/com_init.c
index 0f4cdfaf6b..06229ede4b 100644
--- a/src/mainboard/intel/strago/com_init.c
+++ b/src/mainboard/intel/strago/com_init.c
@@ -12,8 +12,6 @@
* by pad number and which community it is in.
*/
-
-
/* family number in high byte and inner pad number in lowest byte */
void bootblock_mainboard_early_init(void)
diff --git a/src/mainboard/intel/strago/gpio.c b/src/mainboard/intel/strago/gpio.c
index fb82091b62..d3d6168d15 100644
--- a/src/mainboard/intel/strago/gpio.c
+++ b/src/mainboard/intel/strago/gpio.c
@@ -68,7 +68,6 @@ static const struct soc_gpio_map gpse_gpio_map[] = {
GPIO_END
};
-
/* South West Community */
static const struct soc_gpio_map gpsw_gpio_map[] = {
GPIO_NC, /* 00 FST_SPI_D2 */
@@ -135,7 +134,6 @@ static const struct soc_gpio_map gpsw_gpio_map[] = {
GPIO_END
};
-
/* North Community */
static const struct soc_gpio_map gpn_gpio_map[] = {
GPIO_NC, /* 00 GPIO_DFX0 */
@@ -205,7 +203,6 @@ static const struct soc_gpio_map gpn_gpio_map[] = {
GPIO_END
};
-
/* East Community */
static const struct soc_gpio_map gpe_gpio_map[] = {
Native_M1, /* 00 PMU_SLP_S3_B */
@@ -235,7 +232,6 @@ static const struct soc_gpio_map gpe_gpio_map[] = {
GPIO_END
};
-
static struct soc_gpio_config gpio_config = {
/* BSW */
.north = gpn_gpio_map,
diff --git a/src/mainboard/intel/strago/mainboard.c b/src/mainboard/intel/strago/mainboard.c
index dd40848948..82f46294cb 100644
--- a/src/mainboard/intel/strago/mainboard.c
+++ b/src/mainboard/intel/strago/mainboard.c
@@ -20,7 +20,6 @@ static void mainboard_enable(struct device *dev)
dev->ops->acpi_inject_dsdt = chromeos_dsdt_generator;
}
-
struct chip_operations mainboard_ops = {
.enable_dev = mainboard_enable,
};
diff --git a/src/mainboard/intel/strago/onboard.h b/src/mainboard/intel/strago/onboard.h
index 35bc012d17..bc2e7a278a 100644
--- a/src/mainboard/intel/strago/onboard.h
+++ b/src/mainboard/intel/strago/onboard.h
@@ -25,7 +25,6 @@
#define BOARD_TOUCH_IRQ 184
-
/* Audio: Gpio index in SW bank */
#define JACK_DETECT_GPIO_INDEX 95
/* SCI: Gpio index in N bank */
@@ -43,8 +42,6 @@
#define BOARD_TOUCHSCREEN_I2C_BUS 0
#define BOARD_TOUCHSCREEN_I2C_ADDR 0x4a /* TODO(shawnn): Check this */
-
-
/* SD CARD gpio */
#define SDCARD_CD 81
diff --git a/src/mainboard/intel/tglrvp/board_id.h b/src/mainboard/intel/tglrvp/board_id.h
index c8d6cd2c07..f3dee88627 100644
--- a/src/mainboard/intel/tglrvp/board_id.h
+++ b/src/mainboard/intel/tglrvp/board_id.h
@@ -3,7 +3,6 @@
#ifndef _MAINBOARD_COMMON_BOARD_ID_H_
#define _MAINBOARD_COMMON_BOARD_ID_H_
-
/* Board/FAB ID Command */
#define EC_FAB_ID_CMD 0x0D