To support JTAG for VisionFive2 board, we need to control JTAG pins by S/W. spl_board_init_f function seems to be proper place to initialize these pins.
Chanho Park (2): riscv: cpu: jh7110: Add gpio helper macros board: starfive: spl: Support jtag for VisionFive2 board arch/riscv/include/asm/arch-jh7110/gpio.h | 85 +++++++++++++++++++++++ board/starfive/visionfive2/spl.c | 23 ++++++ 2 files changed, 108 insertions(+) create mode 100644 arch/riscv/include/asm/arch-jh7110/gpio.h -- 2.39.2