From ae94d8af7fb1bcbaa98f82995da4c80a4cb74aac Mon Sep 17 00:00:00 2001 From: Raymond Mao Date: Tue, 30 Jun 2026 09:19:03 +0800 Subject: spacemit: k1: enable SPL with debug UART Add SPL support featuring debug UART output for early boot diagnostics on K1 SoC. Signed-off-by: Raymond Mao Signed-off-by: Guodong Xu Tested-by: Songsong Zhang --- include/configs/k1.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/configs/k1.h b/include/configs/k1.h index 97cf4d72df0..15a40f2128f 100644 --- a/include/configs/k1.h +++ b/include/configs/k1.h @@ -1,13 +1,15 @@ /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (c) 2024, Kongyang Liu + * Copyright (C) 2025-2026, RISCstar Ltd. * */ #ifndef __CONFIG_H #define __CONFIG_H -#define CFG_SYS_SDRAM_BASE 0x0 -#define CFG_SYS_NS16550_IER 0x40 /* UART Unit Enable */ +#define CFG_SYS_NS16550_CLK 14700000 +#define CFG_SYS_NS16550_IER 0x40 /* UART Unit Enable */ +#define CFG_SYS_SDRAM_BASE 0x0 #endif /* __CONFIG_H */ -- cgit v1.3.1