summaryrefslogtreecommitdiff
path: root/src/soc/amd/cezanne/uart.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/amd/cezanne/uart.c')
-rw-r--r--src/soc/amd/cezanne/uart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/amd/cezanne/uart.c b/src/soc/amd/cezanne/uart.c
index 7917ebd195..64252cad2b 100644
--- a/src/soc/amd/cezanne/uart.c
+++ b/src/soc/amd/cezanne/uart.c
@@ -37,7 +37,7 @@ uintptr_t get_uart_base(unsigned int idx)
void clear_uart_legacy_config(void)
{
- write16((void *)FCH_LEGACY_UART_DECODE, 0);
+ write16p(FCH_LEGACY_UART_DECODE, 0);
}
void set_uart_config(unsigned int idx)