summaryrefslogtreecommitdiff
path: root/src/soc/intel/elkhartlake
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2024-03-23 15:40:00 +0100
committerFelix Singer <service+coreboot-gerrit@felixsinger.de>2024-03-30 08:29:38 +0000
commitc0d3cf105254c0bbde5c57c8817f5263271fb0fe (patch)
treeb76d060dcb00f6696ded9e39bdc7a7808bcb1e72 /src/soc/intel/elkhartlake
parent57351dd872746392175f5684b04ac9fb0a5d5538 (diff)
soc/intel: Remove blank lines before '}' and after '{'
Change-Id: I79b93b0ca446411e2a1feb65d00045e3be85ee8a Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/81489 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Diffstat (limited to 'src/soc/intel/elkhartlake')
-rw-r--r--src/soc/intel/elkhartlake/chip.h1
-rw-r--r--src/soc/intel/elkhartlake/include/soc/meminit.h1
-rw-r--r--src/soc/intel/elkhartlake/meminit.c1
-rw-r--r--src/soc/intel/elkhartlake/systemagent.c1
4 files changed, 0 insertions, 4 deletions
diff --git a/src/soc/intel/elkhartlake/chip.h b/src/soc/intel/elkhartlake/chip.h
index 817689006c..5330f223ad 100644
--- a/src/soc/intel/elkhartlake/chip.h
+++ b/src/soc/intel/elkhartlake/chip.h
@@ -109,7 +109,6 @@ enum sata_speed_limit {
};
struct soc_intel_elkhartlake_config {
-
/* Common struct containing soc config data required by common code */
struct soc_intel_common_config common_soc_config;
diff --git a/src/soc/intel/elkhartlake/include/soc/meminit.h b/src/soc/intel/elkhartlake/include/soc/meminit.h
index 2dcbd13253..ca871da91a 100644
--- a/src/soc/intel/elkhartlake/include/soc/meminit.h
+++ b/src/soc/intel/elkhartlake/include/soc/meminit.h
@@ -52,7 +52,6 @@ struct spd_info {
/* Board-specific memory dq mapping information */
struct mb_cfg {
-
/*
* For each channel, there are 6 sets of DQ byte mappings,
* where each set has a package 0 and a package 1 value (package 0
diff --git a/src/soc/intel/elkhartlake/meminit.c b/src/soc/intel/elkhartlake/meminit.c
index fd64c7d3e5..a8fa97215c 100644
--- a/src/soc/intel/elkhartlake/meminit.c
+++ b/src/soc/intel/elkhartlake/meminit.c
@@ -88,7 +88,6 @@ static void meminit_channels(FSP_M_CONFIG *mem_cfg, const struct mb_cfg *board_c
void memcfg_init(FSP_M_CONFIG *mem_cfg, const struct mb_cfg *board_cfg,
const struct spd_info *spd_info, bool half_populated)
{
-
if (spd_info->read_type == READ_SMBUS) {
for (int i = 0; i < NUM_DIMM_SLOT; i++)
mem_cfg->SpdAddressTable[i] = spd_info->spd_spec.spd_smbus_address[i];
diff --git a/src/soc/intel/elkhartlake/systemagent.c b/src/soc/intel/elkhartlake/systemagent.c
index a9fd26c603..9eadf89c57 100644
--- a/src/soc/intel/elkhartlake/systemagent.c
+++ b/src/soc/intel/elkhartlake/systemagent.c
@@ -60,5 +60,4 @@ void soc_systemagent_init(struct device *dev)
config = config_of_soc();
soc_config = &config->power_limits_config;
set_power_limits(MOBILE_SKU_PL1_TIME_SEC, soc_config);
-
}