summaryrefslogtreecommitdiff
path: root/src/soc/amd/common/block
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2024-03-23 15:11:47 +0100
committerElyes Haouas <ehaouas@noos.fr>2024-03-30 07:43:06 +0000
commit54e97b8d6e1b6620a86fb70e7e6b2e912fbfd1ca (patch)
tree5a6f7272b8280e634eb81dfa33f94866b94c9fda /src/soc/amd/common/block
parent58eddfc00cb4645ab02f3ecec4f8099a25c7f84a (diff)
soc/amd: Remove blank lines before '}' and after '{'
Change-Id: I0203e77dd23fa026cd252abbda50f1e9f6892721 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/81457 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <ericllai@google.com>
Diffstat (limited to 'src/soc/amd/common/block')
-rw-r--r--src/soc/amd/common/block/acpi/ivrs.c2
-rw-r--r--src/soc/amd/common/block/lpc/espi_util.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/src/soc/amd/common/block/acpi/ivrs.c b/src/soc/amd/common/block/acpi/ivrs.c
index 74c5c39b52..a2f77150c9 100644
--- a/src/soc/amd/common/block/acpi/ivrs.c
+++ b/src/soc/amd/common/block/acpi/ivrs.c
@@ -131,7 +131,6 @@ static void ivrs_add_device_or_bridge(struct device *parent, struct device *dev,
} else if ((header_type == PCI_HEADER_TYPE_NORMAL) && !is_pcie) {
/* Device is legacy PCI or PCI-X */
add_ivhd_dev_entry(parent, dev, current, IVHD_DEV_8_BYTE_ALIAS_SELECT, 0x0);
-
}
}
@@ -316,7 +315,6 @@ static unsigned long acpi_fill_ivrs(acpi_ivrs_t *ivrs, unsigned long current)
ivhd = &ivrs->ivhd;
while ((dev = dev_find_path(dev, DEVICE_PATH_DOMAIN)) != NULL) {
-
nb_dev = pcidev_path_behind(dev->downstream, PCI_DEVFN(0, 0));
iommu_dev = pcidev_path_behind(dev->downstream, PCI_DEVFN(0, 2));
if (!nb_dev) {
diff --git a/src/soc/amd/common/block/lpc/espi_util.c b/src/soc/amd/common/block/lpc/espi_util.c
index c0f2354f4f..f05575ab74 100644
--- a/src/soc/amd/common/block/lpc/espi_util.c
+++ b/src/soc/amd/common/block/lpc/espi_util.c
@@ -317,7 +317,6 @@ static int espi_get_unused_mmio_window(void)
}
return -1;
-
}
static size_t espi_get_mmio_window_size(int idx)
@@ -824,7 +823,6 @@ static enum cb_err espi_wait_channel_ready(uint16_t slave_reg_addr)
printk(BIOS_ERR, "Channel is not ready after %d usec (slave addr: 0x%x)\n",
ESPI_CH_READY_TIMEOUT_US, slave_reg_addr);
return CB_ERR;
-
}
static void espi_enable_ctrlr_channel(uint32_t channel_en)