summaryrefslogtreecommitdiff
path: root/src/southbridge
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2024-03-23 15:10:04 +0100
committerElyes Haouas <ehaouas@noos.fr>2024-04-11 19:19:08 +0000
commit31402178c56108e752b95c34562b6e3554a2c1d8 (patch)
tree0ac4a3cea23ce5c66cc91f2883d3b30184d0f565 /src/southbridge
parent1dc8f0272bd222125d2d26cfa2b311f3d134f6ca (diff)
tree: Remove blank lines before '}' and after '{'
Change-Id: I46a362270f69d0a4a28e5bb9c954f34d632815ff Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/81455 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/southbridge')
-rw-r--r--src/southbridge/intel/common/pciehp.c1
-rw-r--r--src/southbridge/intel/common/smbus.c1
-rw-r--r--src/southbridge/intel/common/spi.c1
-rw-r--r--src/southbridge/intel/i82371eb/fadt.c1
-rw-r--r--src/southbridge/intel/i82801gx/sata.c1
-rw-r--r--src/southbridge/intel/i82801ix/pcie.c1
-rw-r--r--src/southbridge/intel/i82801jx/pcie.c1
-rw-r--r--src/southbridge/intel/i82870/pcibridge.c1
-rw-r--r--src/southbridge/intel/lynxpoint/pcie.c1
-rw-r--r--src/southbridge/ricoh/rl5c476/rl5c476.c2
-rw-r--r--src/southbridge/ti/pci1x2x/pci1x2x.c1
11 files changed, 0 insertions, 12 deletions
diff --git a/src/southbridge/intel/common/pciehp.c b/src/southbridge/intel/common/pciehp.c
index d5766d8f90..355e9df32f 100644
--- a/src/southbridge/intel/common/pciehp.c
+++ b/src/southbridge/intel/common/pciehp.c
@@ -114,5 +114,4 @@ void intel_acpi_pcie_hotplug_generator(bool *hotplug_map, int port_number)
}
acpigen_pop_len();
acpigen_pop_len();
-
}
diff --git a/src/southbridge/intel/common/smbus.c b/src/southbridge/intel/common/smbus.c
index 8b19b7d900..1594e684a6 100644
--- a/src/southbridge/intel/common/smbus.c
+++ b/src/southbridge/intel/common/smbus.c
@@ -320,7 +320,6 @@ static int block_cmd_loop(uintptr_t base, u8 *buf, size_t max_bytes, int flags)
host_and_or(base, SMBHSTCTL, 0xff,
SMBHSTCNT_LAST_BYTE);
}
-
}
/* Engine internally completes the transaction
diff --git a/src/southbridge/intel/common/spi.c b/src/southbridge/intel/common/spi.c
index 93185d4884..068062bae0 100644
--- a/src/southbridge/intel/common/spi.c
+++ b/src/southbridge/intel/common/spi.c
@@ -913,7 +913,6 @@ static const struct spi_flash_ops spi_flash_ops = {
static int spi_flash_programmer_probe(const struct spi_slave *spi,
struct spi_flash *flash)
{
-
if (CONFIG(SOUTHBRIDGE_INTEL_I82801GX))
return spi_flash_generic_probe(spi, flash);
diff --git a/src/southbridge/intel/i82371eb/fadt.c b/src/southbridge/intel/i82371eb/fadt.c
index e78ba4283a..3477e3ada7 100644
--- a/src/southbridge/intel/i82371eb/fadt.c
+++ b/src/southbridge/intel/i82371eb/fadt.c
@@ -16,7 +16,6 @@
*/
void acpi_fill_fadt(acpi_fadt_t *fadt)
{
-
fadt->pm1a_evt_blk = DEFAULT_PMBASE;
fadt->pm1a_cnt_blk = DEFAULT_PMBASE + PMCNTRL;
diff --git a/src/southbridge/intel/i82801gx/sata.c b/src/southbridge/intel/i82801gx/sata.c
index 2333c76e16..31aeaf60be 100644
--- a/src/southbridge/intel/i82801gx/sata.c
+++ b/src/southbridge/intel/i82801gx/sata.c
@@ -54,7 +54,6 @@ void sata_enable(struct device *dev)
config->sata_mode = SATA_MODE_IDE_PLAIN;
printk(BIOS_DEBUG, "AHCI not supported, falling back to plain mode.\n");
}
-
}
if (config->sata_mode == SATA_MODE_AHCI) {
diff --git a/src/southbridge/intel/i82801ix/pcie.c b/src/southbridge/intel/i82801ix/pcie.c
index a374068522..e01edf2aae 100644
--- a/src/southbridge/intel/i82801ix/pcie.c
+++ b/src/southbridge/intel/i82801ix/pcie.c
@@ -52,7 +52,6 @@ static void pci_init(struct device *dev)
/* Enable expresscard hotplug events. */
if (config->pcie_hotplug_map[PCI_FUNC(dev->path.pci.devfn)]) {
-
pci_or_config32(dev, 0xd8, 1 << 30);
pci_write_config16(dev, 0x42, 0x142);
}
diff --git a/src/southbridge/intel/i82801jx/pcie.c b/src/southbridge/intel/i82801jx/pcie.c
index 3ed9d6043b..0068fb116f 100644
--- a/src/southbridge/intel/i82801jx/pcie.c
+++ b/src/southbridge/intel/i82801jx/pcie.c
@@ -52,7 +52,6 @@ static void pci_init(struct device *dev)
/* Enable expresscard hotplug events. */
if (config->pcie_hotplug_map[PCI_FUNC(dev->path.pci.devfn)]) {
-
pci_or_config32(dev, 0xd8, 1 << 30);
pci_write_config16(dev, 0x42, 0x142);
}
diff --git a/src/southbridge/intel/i82870/pcibridge.c b/src/southbridge/intel/i82870/pcibridge.c
index 4ca801027c..b04b8e3e94 100644
--- a/src/southbridge/intel/i82870/pcibridge.c
+++ b/src/southbridge/intel/i82870/pcibridge.c
@@ -20,7 +20,6 @@ static void p64h2_pcix_init(struct device *dev)
pci_write_config32(dev, ACNF, dword);
byte = 0x08;
pci_write_config8(dev, MTT, byte);
-
}
static struct device_operations pcix_ops = {
.read_resources = pci_bus_read_resources,
diff --git a/src/southbridge/intel/lynxpoint/pcie.c b/src/southbridge/intel/lynxpoint/pcie.c
index 7d31b3ea18..7f5e1face6 100644
--- a/src/southbridge/intel/lynxpoint/pcie.c
+++ b/src/southbridge/intel/lynxpoint/pcie.c
@@ -231,7 +231,6 @@ static void pcie_enable_clock_gating(void)
rp = root_port_number(dev);
if (!is_rp_enabled(rp)) {
-
/* Configure shared resource clock gating. */
if (rp == 1 || rp == 5 || (rp == 6 && is_lp))
pci_or_config8(dev, 0xe1, 0x3c);
diff --git a/src/southbridge/ricoh/rl5c476/rl5c476.c b/src/southbridge/ricoh/rl5c476/rl5c476.c
index f78f816cfc..645e5f11b4 100644
--- a/src/southbridge/ricoh/rl5c476/rl5c476.c
+++ b/src/southbridge/ricoh/rl5c476/rl5c476.c
@@ -142,7 +142,6 @@ static void rl5c476_init(struct device *dev)
static void rl5c476_read_resources(struct device *dev)
{
-
struct resource *resource;
/* For CF socket we need an extra memory window for
@@ -173,7 +172,6 @@ static void rl5c476_set_resources(struct device *dev)
}
pci_dev_set_resources(dev);
-
}
static void rl5c476_set_subsystem(struct device *dev, unsigned int vendor,
diff --git a/src/southbridge/ti/pci1x2x/pci1x2x.c b/src/southbridge/ti/pci1x2x/pci1x2x.c
index 55d37af319..2257c26d29 100644
--- a/src/southbridge/ti/pci1x2x/pci1x2x.c
+++ b/src/southbridge/ti/pci1x2x/pci1x2x.c
@@ -10,7 +10,6 @@
static void ti_pci1x2y_init(struct device *dev)
{
-
printk(BIOS_INFO, "Init of Texas Instruments PCI1x2x PCMCIA/CardBus controller\n");
struct southbridge_ti_pci1x2x_config *conf = dev->chip_info;