diff mbox series

xtensa: xtfpga: enable DM_SERIAL

Message ID 20250512163931.4184305-1-jcmvbkbc@gmail.com
State New
Delegated to: Tom Rini
Headers show
Series xtensa: xtfpga: enable DM_SERIAL | expand

Commit Message

Max Filippov May 12, 2025, 4:39 p.m. UTC
Enable DM_SERIAL for the xtensa architecture and update xtfpga_defconfig

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
---
 arch/Kconfig             | 1 +
 configs/xtfpga_defconfig | 6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)

Comments

Tom Rini May 22, 2025, 4:56 p.m. UTC | #1
On Mon, May 12, 2025 at 09:39:31AM -0700, Max Filippov wrote:

> Enable DM_SERIAL for the xtensa architecture and update xtfpga_defconfig
> 
> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
> ---
>  arch/Kconfig             | 1 +
>  configs/xtfpga_defconfig | 6 +++---
>  2 files changed, 4 insertions(+), 3 deletions(-)

This seems to lead to the platform not working anymore in CI however,
any ideas?
diff mbox series

Patch

diff --git a/arch/Kconfig b/arch/Kconfig
index ea33d07c086b..38284d22020b 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -361,6 +361,7 @@  config X86
 config XTENSA
 	bool "Xtensa architecture"
 	select CREATE_ARCH_SYMLINK
+	select DM_SERIAL
 	select SUPPORT_LITTLE_ENDIAN
 	select SUPPORT_OF_CONTROL
 
diff --git a/configs/xtfpga_defconfig b/configs/xtfpga_defconfig
index b96dc10d85be..8303c9398da2 100644
--- a/configs/xtfpga_defconfig
+++ b/configs/xtfpga_defconfig
@@ -4,6 +4,7 @@  CONFIG_SYS_MALLOC_LEN=0x40000
 CONFIG_SYS_MALLOC_F_LEN=0x400
 CONFIG_ENV_SIZE=0x20000
 CONFIG_ENV_SECT_SIZE=0x20000
+CONFIG_DEFAULT_DEVICE_TREE="kc705"
 CONFIG_SYS_MONITOR_LEN=262144
 CONFIG_SYS_LOAD_ADDR=0x02000000
 CONFIG_ENV_ADDR=0xF7FE0000
@@ -28,6 +29,7 @@  CONFIG_CMD_SAVES=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_DIAG=y
+CONFIG_OF_CONTROL=y
 CONFIG_ENV_IS_IN_FLASH=y
 CONFIG_USE_BOOTFILE=y
 CONFIG_BOOTFILE="uImage"
@@ -46,7 +48,5 @@  CONFIG_SYS_FLASH_CFI=y
 CONFIG_SYS_MAX_FLASH_SECT=1027
 CONFIG_PHYLIB=y
 CONFIG_ETHOC=y
-CONFIG_SYS_NS16550_SERIAL=y
-CONFIG_SYS_NS16550_REG_SIZE=-4
+CONFIG_SYS_NS16550=y
 CONFIG_SYSRESET=y
-CONFIG_OF_LIBFDT=y