soc/amd: Fix some white spaces issues

Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Change-Id: Ibe20d48bdd8c776f9658620a13814f96e564dabc
Reviewed-on: https://review.coreboot.org/c/coreboot/+/65907
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Elyes Haouas 2022-07-16 09:53:05 +02:00 committed by Martin L Roth
parent ab304bc091
commit 55d0f40734
6 changed files with 7 additions and 7 deletions

View File

@ -17,7 +17,7 @@ uintptr_t agesa_write_acpi_tables(const struct device *device, uintptr_t current
/* IVRS */
current = ALIGN(current, 8);
ivrs = (acpi_ivrs_t *) current;
ivrs = (acpi_ivrs_t *)current;
acpi_create_ivrs(ivrs, acpi_fill_ivrs);
current += ivrs->header.length;
acpi_add_table(rsdp, ivrs);

View File

@ -558,7 +558,7 @@ uintptr_t agesa_write_acpi_tables(const struct device *device, uintptr_t current
/* IVRS */
current = ALIGN(current, 8);
ivrs = (acpi_ivrs_t *) current;
ivrs = (acpi_ivrs_t *)current;
acpi_create_ivrs(ivrs, acpi_fill_ivrs);
current += ivrs->header.length;
acpi_add_table(rsdp, ivrs);

View File

@ -19,7 +19,7 @@ uintptr_t agesa_write_acpi_tables(const struct device *device, uintptr_t current
/* IVRS */
current = ALIGN(current, 8);
ivrs = (acpi_ivrs_t *) current;
ivrs = (acpi_ivrs_t *)current;
acpi_create_ivrs(ivrs, acpi_fill_ivrs);
current += ivrs->header.length;
acpi_add_table(rsdp, ivrs);

View File

@ -21,7 +21,7 @@ void *cbmem_top_chipset(void)
/* 8MB alignment to keep MTRR usage low */
return (void *)ALIGN_DOWN(restore_top_of_low_cacheable()
- CONFIG_SMM_TSEG_SIZE, 8*MiB);
- CONFIG_SMM_TSEG_SIZE, 8 * MiB);
}
static uintptr_t smm_region_start(void)

View File

@ -110,7 +110,7 @@ static void set_resource(struct device *dev, struct resource *res, u32 nodeid)
link_num = IOINDEX_LINK(res->index);
if (res->flags & IORESOURCE_IO)
set_io_addr_reg(dev, nodeid, link_num, reg, rbase>>8, rend>>8);
set_io_addr_reg(dev, nodeid, link_num, reg, rbase >> 8, rend >> 8);
else if (res->flags & IORESOURCE_MEM)
set_mmio_addr_reg(nodeid, link_num, reg,
(res->index >> 24), rbase >> 8, rend >> 8);

View File

@ -39,7 +39,7 @@ static int readspd(uint8_t SmbusSlaveAddress, char *buffer, size_t count)
printk(BIOS_ERR, "-------------SPD READ ERROR-----------\n");
return error;
}
*pbuf = (char) error;
*pbuf = (char)error;
pbuf++;
/* Read the remaining SPD bytes using do_smbus_recv_byte for speed */
@ -49,7 +49,7 @@ static int readspd(uint8_t SmbusSlaveAddress, char *buffer, size_t count)
printk(BIOS_ERR, "-------------SPD READ ERROR-----------\n");
return error;
}
*pbuf = (char) error;
*pbuf = (char)error;
pbuf++;
}
printk(BIOS_SPEW, "\n");