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>
This commit is contained in:
parent
3ff7bcf10e
commit
4b7f3151a8
|
@ -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;
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -26,7 +26,6 @@ DefinitionBlock(
|
|||
|
||||
}
|
||||
|
||||
|
||||
Device (UNC0)
|
||||
{
|
||||
Name (_HID, EisaId ("PNP0A03"))
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
|
||||
Device (SIO1)
|
||||
{
|
||||
Name (_HID, EISAID("PNP0A05"))
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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 },
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -165,6 +165,5 @@ static const struct pad_config early_gpio_table[] = {
|
|||
/* UART0_TXD */ PAD_CFG_NF(GPP_C9, NONE, DEEP, NF1),
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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));
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue