diff options
Diffstat (limited to 'src/soc')
-rw-r--r-- | src/soc/amd/cezanne/uart.c | 2 | ||||
-rw-r--r-- | src/soc/amd/mendocino/uart.c | 2 | ||||
-rw-r--r-- | src/soc/amd/picasso/uart.c | 2 |
3 files changed, 3 insertions, 3 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) diff --git a/src/soc/amd/mendocino/uart.c b/src/soc/amd/mendocino/uart.c index 66e0cf1caa..ac98a79676 100644 --- a/src/soc/amd/mendocino/uart.c +++ b/src/soc/amd/mendocino/uart.c @@ -49,7 +49,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) diff --git a/src/soc/amd/picasso/uart.c b/src/soc/amd/picasso/uart.c index 5763a5b17c..4ae4c5ced4 100644 --- a/src/soc/amd/picasso/uart.c +++ b/src/soc/amd/picasso/uart.c @@ -45,7 +45,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) |