[PATCH] configs: mt7622: enable debug uart for mt7622_rfb_defconfig

Weijie Gao weijie.gao at mediatek.com
Fri Mar 5 03:41:33 CET 2021


Enable debug uart for mt7622_rfb_defconfig

Signed-off-by: Weijie Gao <weijie.gao at mediatek.com>
---
 configs/mt7622_rfb_defconfig | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/configs/mt7622_rfb_defconfig b/configs/mt7622_rfb_defconfig
index 12f529158c..c12ce5cc0a 100644
--- a/configs/mt7622_rfb_defconfig
+++ b/configs/mt7622_rfb_defconfig
@@ -4,7 +4,10 @@ CONFIG_ARCH_MEDIATEK=y
 CONFIG_SYS_TEXT_BASE=0x41e00000
 CONFIG_SYS_MALLOC_F_LEN=0x4000
 CONFIG_NR_DRAM_BANKS=1
+CONFIG_DEBUG_UART_BASE=0x11002000
+CONFIG_DEBUG_UART_CLOCK=25000000
 CONFIG_DEFAULT_DEVICE_TREE="mt7622-rfb"
+CONFIG_DEBUG_UART=y
 CONFIG_FIT=y
 CONFIG_DEFAULT_FDT_FILE="mt7622-rfb"
 CONFIG_LOGLEVEL=7
-- 
2.17.1


More information about the U-Boot mailing list