aboutsummaryrefslogtreecommitdiff
path: root/src/soc/amd/picasso/uart.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/amd/picasso/uart.c')
-rw-r--r--src/soc/amd/picasso/uart.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/amd/picasso/uart.c b/src/soc/amd/picasso/uart.c
index a71a0e97d9..b417051b97 100644
--- a/src/soc/amd/picasso/uart.c
+++ b/src/soc/amd/picasso/uart.c
@@ -101,7 +101,7 @@ void set_uart_config(unsigned int idx)
program_gpios(uart_info[idx].mux, 2);
- if (CONFIG(PICASSO_UART_1_8MZ)) {
+ if (CONFIG(AMD_SOC_UART_1_8MZ)) {
uart_ctrl = sm_pci_read32(SMB_UART_CONFIG);
uart_ctrl |= 1 << (SMB_UART_1_8M_SHIFT + idx);
sm_pci_write32(SMB_UART_CONFIG, uart_ctrl);
@@ -151,7 +151,7 @@ static void uart_enable(struct device *dev)
if (dev->enabled) {
power_on_aoac_device(dev_id);
wait_for_aoac_enabled(dev_id);
- if (CONFIG(PICASSO_UART_LEGACY))
+ if (CONFIG(AMD_SOC_UART_LEGACY))
enable_uart_legacy_decode(dev->path.mmio.addr);
} else {
power_off_aoac_device(dev_id);