Browse Source

boards: riscv: niosv_g: move and convert to HWMv2

Move and convert to HWMv2 riscv/niosv_g board configuration.

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
pull/69687/head
Dmitrii Golovanov 1 year ago committed by Carles Cufi
parent
commit
545093abe4
  1. 6
      boards/boards_legacy/riscv/niosv_g/Kconfig.board
  2. 9
      boards/boards_legacy/riscv/niosv_g/Kconfig.defconfig
  3. 8
      boards/intel/niosv_g/Kconfig.niosv_g
  4. 4
      boards/intel/niosv_g/board.yml
  5. 0
      boards/intel/niosv_g/doc/index.rst
  6. 0
      boards/intel/niosv_g/niosv_g.dts
  7. 0
      boards/intel/niosv_g/niosv_g.yaml
  8. 6
      boards/intel/niosv_g/niosv_g_defconfig

6
boards/boards_legacy/riscv/niosv_g/Kconfig.board

@ -1,6 +0,0 @@ @@ -1,6 +0,0 @@
# Copyright (C) 2023, Intel Corporation
# SPDX-License-Identifier: Apache-2.0
config BOARD_NIOSV_G
bool "Intel FPGA Nios V/g General Purpose Processor"
depends on SOC_NIOSV_G

9
boards/boards_legacy/riscv/niosv_g/Kconfig.defconfig

@ -1,9 +0,0 @@ @@ -1,9 +0,0 @@
# Copyright (C) 2023, Intel Corporation
# SPDX-License-Identifier: Apache-2.0
if BOARD_NIOSV_G
config BOARD
default "niosv_g"
endif # BOARD_NIOSV_G

8
boards/intel/niosv_g/Kconfig.niosv_g

@ -0,0 +1,8 @@ @@ -0,0 +1,8 @@
# Copyright (C) 2023-2024, Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
config BOARD_NIOSV_G
select SOC_NIOSV_G
help
Intel FPGA Nios V/g General Purpose Processor

4
boards/intel/niosv_g/board.yml

@ -0,0 +1,4 @@ @@ -0,0 +1,4 @@
board:
name: niosv_g
socs:
- name: niosv_g

0
boards/boards_legacy/riscv/niosv_g/doc/index.rst → boards/intel/niosv_g/doc/index.rst

0
boards/boards_legacy/riscv/niosv_g/niosv_g.dts → boards/intel/niosv_g/niosv_g.dts

0
boards/boards_legacy/riscv/niosv_g/niosv_g.yaml → boards/intel/niosv_g/niosv_g.yaml

6
boards/boards_legacy/riscv/niosv_g/niosv_g_defconfig → boards/intel/niosv_g/niosv_g_defconfig

@ -1,9 +1,7 @@ @@ -1,9 +1,7 @@
# Copyright (C) 2023, Intel Corporation
# Copyright (C) 2023-2024, Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
CONFIG_SOC_SERIES_NIOSV=y
CONFIG_SOC_NIOSV_G=y
CONFIG_BOARD_NIOSV_G=y
CONFIG_CONSOLE=y
CONFIG_PRINTK=y
CONFIG_SERIAL=y
Loading…
Cancel
Save