summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRaymond Mao <[email protected]>2026-06-30 09:19:03 +0800
committerTim Ouyang <[email protected]>2026-07-21 16:57:13 +0800
commitae94d8af7fb1bcbaa98f82995da4c80a4cb74aac (patch)
treef3be16c38ea5a207a486a40edeee93d00d9e48a5 /include
parentd57766552627ae29e68ddf98e11765fcac00893b (diff)
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 <[email protected]> Signed-off-by: Guodong Xu <[email protected]> Tested-by: Songsong Zhang <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/configs/k1.h6
1 files changed, 4 insertions, 2 deletions
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 <[email protected]>
+ * 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 */