diff --git a/boards/boards_legacy/riscv/gd32vf103v_eval/Kconfig.defconfig b/boards/boards_legacy/riscv/gd32vf103v_eval/Kconfig.defconfig deleted file mode 100644 index e3c8b4150f7..00000000000 --- a/boards/boards_legacy/riscv/gd32vf103v_eval/Kconfig.defconfig +++ /dev/null @@ -1,9 +0,0 @@ -# Copyright (c) 2021 Teslabs Engineering S.L. -# SPDX-License-Identifier: Apache-2.0 - -if BOARD_GD32VF103V_EVAL - -config BOARD - default "gd32vf103v_eval" - -endif # BOARD_GD32VF103V_EVAL diff --git a/boards/boards_legacy/riscv/gd32vf103v_eval/Kconfig.board b/boards/gd/gd32vf103v_eval/Kconfig.gd32vf103v_eval similarity index 65% rename from boards/boards_legacy/riscv/gd32vf103v_eval/Kconfig.board rename to boards/gd/gd32vf103v_eval/Kconfig.gd32vf103v_eval index 1893adae071..77de39c9612 100644 --- a/boards/boards_legacy/riscv/gd32vf103v_eval/Kconfig.board +++ b/boards/gd/gd32vf103v_eval/Kconfig.gd32vf103v_eval @@ -2,5 +2,4 @@ # SPDX-License-Identifier: Apache-2.0 config BOARD_GD32VF103V_EVAL - bool "GigaDevice GD32VF103V-EVAL" - depends on SOC_GD32VF103 + select SOC_GD32VF103 diff --git a/boards/boards_legacy/riscv/gd32vf103v_eval/board.cmake b/boards/gd/gd32vf103v_eval/board.cmake similarity index 100% rename from boards/boards_legacy/riscv/gd32vf103v_eval/board.cmake rename to boards/gd/gd32vf103v_eval/board.cmake diff --git a/boards/gd/gd32vf103v_eval/board.yml b/boards/gd/gd32vf103v_eval/board.yml new file mode 100644 index 00000000000..5d970642f36 --- /dev/null +++ b/boards/gd/gd32vf103v_eval/board.yml @@ -0,0 +1,5 @@ +board: + name: gd32vf103v_eval + vendor: GigaDevice Semiconductor + socs: + - name: gd32vf103 diff --git a/boards/boards_legacy/riscv/gd32vf103v_eval/doc/img/gd32vf103v_eval.jpg b/boards/gd/gd32vf103v_eval/doc/img/gd32vf103v_eval.jpg similarity index 100% rename from boards/boards_legacy/riscv/gd32vf103v_eval/doc/img/gd32vf103v_eval.jpg rename to boards/gd/gd32vf103v_eval/doc/img/gd32vf103v_eval.jpg diff --git a/boards/boards_legacy/riscv/gd32vf103v_eval/doc/index.rst b/boards/gd/gd32vf103v_eval/doc/index.rst similarity index 100% rename from boards/boards_legacy/riscv/gd32vf103v_eval/doc/index.rst rename to boards/gd/gd32vf103v_eval/doc/index.rst diff --git a/boards/boards_legacy/riscv/gd32vf103v_eval/gd32vf103v_eval-pinctrl.dtsi b/boards/gd/gd32vf103v_eval/gd32vf103v_eval-pinctrl.dtsi similarity index 100% rename from boards/boards_legacy/riscv/gd32vf103v_eval/gd32vf103v_eval-pinctrl.dtsi rename to boards/gd/gd32vf103v_eval/gd32vf103v_eval-pinctrl.dtsi diff --git a/boards/boards_legacy/riscv/gd32vf103v_eval/gd32vf103v_eval.dts b/boards/gd/gd32vf103v_eval/gd32vf103v_eval.dts similarity index 100% rename from boards/boards_legacy/riscv/gd32vf103v_eval/gd32vf103v_eval.dts rename to boards/gd/gd32vf103v_eval/gd32vf103v_eval.dts diff --git a/boards/boards_legacy/riscv/gd32vf103v_eval/gd32vf103v_eval.yaml b/boards/gd/gd32vf103v_eval/gd32vf103v_eval.yaml similarity index 100% rename from boards/boards_legacy/riscv/gd32vf103v_eval/gd32vf103v_eval.yaml rename to boards/gd/gd32vf103v_eval/gd32vf103v_eval.yaml diff --git a/boards/boards_legacy/riscv/gd32vf103v_eval/gd32vf103v_eval_defconfig b/boards/gd/gd32vf103v_eval/gd32vf103v_eval_defconfig similarity index 68% rename from boards/boards_legacy/riscv/gd32vf103v_eval/gd32vf103v_eval_defconfig rename to boards/gd/gd32vf103v_eval/gd32vf103v_eval_defconfig index 078392eed2a..e34c644b264 100644 --- a/boards/boards_legacy/riscv/gd32vf103v_eval/gd32vf103v_eval_defconfig +++ b/boards/gd/gd32vf103v_eval/gd32vf103v_eval_defconfig @@ -1,10 +1,6 @@ # Copyright (c) 2021, Teslabs Engineering S.L. # SPDX-License-Identifier: Apache-2.0 -CONFIG_SOC_SERIES_GD32VF103=y -CONFIG_SOC_GD32VF103=y -CONFIG_BOARD_GD32VF103V_EVAL=y - CONFIG_GD32_HXTAL_8MHZ=y CONFIG_GPIO=y diff --git a/boards/boards_legacy/riscv/gd32vf103v_eval/support/openocd.cfg b/boards/gd/gd32vf103v_eval/support/openocd.cfg similarity index 100% rename from boards/boards_legacy/riscv/gd32vf103v_eval/support/openocd.cfg rename to boards/gd/gd32vf103v_eval/support/openocd.cfg