summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2022-11-18 15:08:44 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-11-22 13:42:28 +0000
commit816dbbc1b8c9f2cb890656b21c33ba220e3dedfa (patch)
treeb57704a545b6377ab537284d2c1ea4e221f39af0
parent723b896330df395158fa5db07cf555f135011bac (diff)
src/soc/ti: Remove unnecessary space after casts
Change-Id: If4564abf060410726b0b245ba002a35ca9d30769 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/69808 Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/soc/ti/am335x/uart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/ti/am335x/uart.c b/src/soc/ti/am335x/uart.c
index b19ba96aec..0543475d84 100644
--- a/src/soc/ti/am335x/uart.c
+++ b/src/soc/ti/am335x/uart.c
@@ -149,7 +149,7 @@ uintptr_t uart_platform_base(unsigned int idx)
void uart_init(unsigned int idx)
{
struct am335x_uart *uart = uart_platform_baseptr(idx);
- uint16_t div = (uint16_t) uart_baudrate_divisor(
+ uint16_t div = (uint16_t)uart_baudrate_divisor(
get_uart_baudrate(), uart_platform_refclk(), 16);
am335x_uart_init(uart, div);
}