From fe379caf327d995f4d29cd2a124dd4e080533e6a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Duje=20Mihanovi=C4=87?= Date: Tue, 24 Dec 2024 18:42:04 +0100 Subject: [PATCH] fix ns16550.c compilation and UART init --- configs/coreprimevelte_defconfig | 3 ++- include/configs/pxa1908.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/configs/coreprimevelte_defconfig b/configs/coreprimevelte_defconfig index 90749d0f89..ccf967634b 100644 --- a/configs/coreprimevelte_defconfig +++ b/configs/coreprimevelte_defconfig @@ -22,11 +22,12 @@ CONFIG_OF_CONTROL=y CONFIG_OF_EMBED=y CONFIG_NO_NET=y CONFIG_CLK=y +CONFIG_CPU=y +CONFIG_CPU_ARMV8=y CONFIG_DEBUG_UART_SHIFT=2 CONFIG_DEBUG_UART_ANNOUNCE=y CONFIG_DEBUG_UART_SKIP_INIT=y CONFIG_SYS_NS16550=y -CONFIG_NS16550_DYNAMIC=y CONFIG_SYS_NS16550_MEM32=y CONFIG_MBEDTLS_LIB=y # CONFIG_TOOLS_MKEFICAPSULE is not set diff --git a/include/configs/pxa1908.h b/include/configs/pxa1908.h index 190032e90f..9a79221910 100644 --- a/include/configs/pxa1908.h +++ b/include/configs/pxa1908.h @@ -1,3 +1,4 @@ #define CFG_SYS_SDRAM_BASE 0x01000000 #define CFG_SYS_INIT_RAM_ADDR 0x17177000 #define CFG_SYS_INIT_RAM_SIZE 0x4000 +#define CFG_SYS_NS16550_IER 0x40 -- 2.39.5