[openwrt/openwrt] armsr: armv8: enable serial console for Renesas platforms

LEDE Commits lede-commits at lists.infradead.org
Tue May 7 05:02:34 PDT 2024


dangole pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/683355d0a6d51cbeda258492bc16a9c6413b387e

commit 683355d0a6d51cbeda258492bc16a9c6413b387e
Author: Mathew McBride <matt at traverse.com.au>
AuthorDate: Tue Apr 30 12:34:37 2024 +1000

    armsr: armv8: enable serial console for Renesas platforms
    
    Support for Renesas Arm families was added in commit 1ff4f4df2301
    ("armsr: armv8: enable CONFIG_ARCH_RENESAS"), but this did not
    enable the console/tty hardware for these SoCs, which is derived
    from the SuperH family (CONFIG_SERIAL_SH_SCI).
    
    Link: https://github.com/openwrt/openwrt/issues/15284
    Signed-off-by: Mathew McBride <matt at traverse.com.au>
---
 target/linux/armsr/armv8/config-6.6 | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/target/linux/armsr/armv8/config-6.6 b/target/linux/armsr/armv8/config-6.6
index 7b50fced91..aa5774a7b6 100644
--- a/target/linux/armsr/armv8/config-6.6
+++ b/target/linux/armsr/armv8/config-6.6
@@ -696,6 +696,11 @@ CONFIG_SERIAL_MVEBU_CONSOLE=y
 CONFIG_SERIAL_MVEBU_UART=y
 CONFIG_SERIAL_SAMSUNG=y
 CONFIG_SERIAL_SAMSUNG_CONSOLE=y
+CONFIG_SERIAL_SH_SCI=y
+CONFIG_SERIAL_SH_SCI_CONSOLE=y
+CONFIG_SERIAL_SH_SCI_DMA=y
+CONFIG_SERIAL_SH_SCI_EARLYCON=y
+CONFIG_SERIAL_SH_SCI_NR_UARTS=18
 # CONFIG_SMC91X is not set
 # CONFIG_SND_SOC_RCAR is not set
 # CONFIG_SND_SOC_RZ is not set




More information about the lede-commits mailing list