diff options
-rw-r--r-- | src/soc/amd/cezanne/agesa_acpi.c | 2 | ||||
-rw-r--r-- | src/soc/amd/picasso/agesa_acpi.c | 2 | ||||
-rw-r--r-- | src/soc/amd/sabrina/agesa_acpi.c | 2 | ||||
-rw-r--r-- | src/soc/amd/stoneyridge/memmap.c | 2 | ||||
-rw-r--r-- | src/soc/amd/stoneyridge/northbridge.c | 2 | ||||
-rw-r--r-- | src/soc/amd/stoneyridge/smbus_spd.c | 4 |
6 files changed, 7 insertions, 7 deletions
diff --git a/src/soc/amd/cezanne/agesa_acpi.c b/src/soc/amd/cezanne/agesa_acpi.c index 47ca5f2375..a397360bce 100644 --- a/src/soc/amd/cezanne/agesa_acpi.c +++ b/src/soc/amd/cezanne/agesa_acpi.c @@ -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); diff --git a/src/soc/amd/picasso/agesa_acpi.c b/src/soc/amd/picasso/agesa_acpi.c index db95b92f5a..e4a9b1421c 100644 --- a/src/soc/amd/picasso/agesa_acpi.c +++ b/src/soc/amd/picasso/agesa_acpi.c @@ -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); diff --git a/src/soc/amd/sabrina/agesa_acpi.c b/src/soc/amd/sabrina/agesa_acpi.c index f8193c7cc9..9062c7a748 100644 --- a/src/soc/amd/sabrina/agesa_acpi.c +++ b/src/soc/amd/sabrina/agesa_acpi.c @@ -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); diff --git a/src/soc/amd/stoneyridge/memmap.c b/src/soc/amd/stoneyridge/memmap.c index f7c6b0075c..f01574097a 100644 --- a/src/soc/amd/stoneyridge/memmap.c +++ b/src/soc/amd/stoneyridge/memmap.c @@ -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) diff --git a/src/soc/amd/stoneyridge/northbridge.c b/src/soc/amd/stoneyridge/northbridge.c index a47ef25e72..500940cee4 100644 --- a/src/soc/amd/stoneyridge/northbridge.c +++ b/src/soc/amd/stoneyridge/northbridge.c @@ -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); diff --git a/src/soc/amd/stoneyridge/smbus_spd.c b/src/soc/amd/stoneyridge/smbus_spd.c index 773aad19f4..1f83448cd3 100644 --- a/src/soc/amd/stoneyridge/smbus_spd.c +++ b/src/soc/amd/stoneyridge/smbus_spd.c @@ -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"); |