Skip to content

Commit 96866b1

Browse files
prabhakarladgeertu
authored andcommitted
ARM: debug-ll: Add support for r8a7742
Enable low-level debugging support for RZ/G1H (R8A7742). RZ/G1H uses SCIFA2 for the debug console. Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com> Link: https://lore.kernel.org/r/1588197415-13747-5-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
1 parent 135e7a1 commit 96866b1

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

‎arch/arm/Kconfig.debug‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -976,6 +976,13 @@ choice
976976
Say Y here if you want kernel low-level debugging support
977977
via SCIF4 on Renesas RZ/G1E (R8A7745).
978978

979+
config DEBUG_RCAR_GEN2_SCIFA2
980+
bool "Kernel low-level debugging messages via SCIFA2 on R8A7742"
981+
depends on ARCH_R8A7742
982+
help
983+
Say Y here if you want kernel low-level debugging support
984+
via SCIFA2 on Renesas RZ/G1H (R8A7742).
985+
979986
config DEBUG_RMOBILE_SCIFA0
980987
bool "Kernel low-level debugging messages via SCIFA0 on R8A73A4"
981988
depends on ARCH_R8A73A4
@@ -1577,6 +1584,7 @@ config DEBUG_LL_INCLUDE
15771584
default "debug/renesas-scif.S" if DEBUG_RCAR_GEN2_SCIF1
15781585
default "debug/renesas-scif.S" if DEBUG_RCAR_GEN2_SCIF2
15791586
default "debug/renesas-scif.S" if DEBUG_RCAR_GEN2_SCIF4
1587+
default "debug/renesas-scif.S" if DEBUG_RCAR_GEN2_SCIFA2
15801588
default "debug/renesas-scif.S" if DEBUG_RMOBILE_SCIFA0
15811589
default "debug/renesas-scif.S" if DEBUG_RMOBILE_SCIFA1
15821590
default "debug/renesas-scif.S" if DEBUG_RMOBILE_SCIFA4
@@ -1696,6 +1704,7 @@ config DEBUG_UART_PHYS
16961704
default 0xe4007000 if DEBUG_HIP04_UART
16971705
default 0xe6c40000 if DEBUG_RMOBILE_SCIFA0
16981706
default 0xe6c50000 if DEBUG_RMOBILE_SCIFA1
1707+
default 0xe6c60000 if DEBUG_RCAR_GEN2_SCIFA2
16991708
default 0xe6c80000 if DEBUG_RMOBILE_SCIFA4
17001709
default 0xe6e58000 if DEBUG_RCAR_GEN2_SCIF2
17011710
default 0xe6e60000 if DEBUG_RCAR_GEN2_SCIF0
@@ -1737,6 +1746,7 @@ config DEBUG_UART_PHYS
17371746
DEBUG_RCAR_GEN1_SCIF0 || DEBUG_RCAR_GEN1_SCIF2 || \
17381747
DEBUG_RCAR_GEN2_SCIF0 || DEBUG_RCAR_GEN2_SCIF1 || \
17391748
DEBUG_RCAR_GEN2_SCIF2 || DEBUG_RCAR_GEN2_SCIF4 || \
1749+
DEBUG_RCAR_GEN2_SCIFA2 || \
17401750
DEBUG_RMOBILE_SCIFA0 || DEBUG_RMOBILE_SCIFA1 || \
17411751
DEBUG_RMOBILE_SCIFA4 || DEBUG_S3C24XX_UART || \
17421752
DEBUG_S3C64XX_UART || \

0 commit comments

Comments
 (0)