diff options
-rw-r--r-- | src/soc/amd/sabrina/psp_verstage/uart.c | 19 | ||||
-rw-r--r-- | src/vendorcode/amd/fsp/sabrina/include/bl_uapp/bl_syscall_public.h | 7 |
2 files changed, 2 insertions, 24 deletions
diff --git a/src/soc/amd/sabrina/psp_verstage/uart.c b/src/soc/amd/sabrina/psp_verstage/uart.c index 2767b2eb27..1c89f10c99 100644 --- a/src/soc/amd/sabrina/psp_verstage/uart.c +++ b/src/soc/amd/sabrina/psp_verstage/uart.c @@ -4,23 +4,8 @@ #include <amdblocks/uart.h> #include <types.h> -static void *uart_bars[FCH_UART_ID_MAX]; - uintptr_t get_uart_base(unsigned int idx) { - uint32_t err; - - if (idx >= ARRAY_SIZE(uart_bars)) - return 0; - - if (uart_bars[idx]) - return (uintptr_t)uart_bars[idx]; - - err = svc_map_fch_dev(FCH_IO_DEVICE_UART, idx, 0, &uart_bars[idx]); - if (err) { - svc_debug_print("Failed to map UART\n"); - return 0; - } - - return (uintptr_t)uart_bars[idx]; + /* Mapping the UART is not supported. */ + return 0; } diff --git a/src/vendorcode/amd/fsp/sabrina/include/bl_uapp/bl_syscall_public.h b/src/vendorcode/amd/fsp/sabrina/include/bl_uapp/bl_syscall_public.h index 79e3adfb91..48c35e54ac 100644 --- a/src/vendorcode/amd/fsp/sabrina/include/bl_uapp/bl_syscall_public.h +++ b/src/vendorcode/amd/fsp/sabrina/include/bl_uapp/bl_syscall_public.h @@ -91,16 +91,9 @@ enum fch_io_device { FCH_IO_DEVICE_MISC, FCH_IO_DEVICE_AOAC, FCH_IO_DEVICE_IOPORT, - FCH_IO_DEVICE_UART, FCH_IO_DEVICE_END, }; -enum fch_uart_id { - FCH_UART_ID_0 = 0, - FCH_UART_ID_1 = 1, - FCH_UART_ID_MAX, -}; - enum fch_i2c_controller_id { FCH_I2C_CONTROLLER_ID_0 = 0, FCH_I2C_CONTROLLER_ID_1 = 1, |