Browse Source

boards: riscv: niosv_m: move and convert to HWMv2

Move and convert to HWMv2 riscv/niosv_m 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
dffc08af56
  1. 6
      boards/boards_legacy/riscv/niosv_m/Kconfig.board
  2. 9
      boards/boards_legacy/riscv/niosv_m/Kconfig.defconfig
  3. 8
      boards/intel/niosv_m/Kconfig.niosv_m
  4. 4
      boards/intel/niosv_m/board.yml
  5. 0
      boards/intel/niosv_m/doc/index.rst
  6. 0
      boards/intel/niosv_m/niosv_m.dts
  7. 0
      boards/intel/niosv_m/niosv_m.yaml
  8. 6
      boards/intel/niosv_m/niosv_m_defconfig

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

@ -1,6 +0,0 @@ @@ -1,6 +0,0 @@
# Copyright (C) 2023, Intel Corporation
# SPDX-License-Identifier: Apache-2.0
config BOARD_NIOSV_M
bool "Intel FPGA NIOSV Microcontroller Core Processor"
depends on SOC_NIOSV_M

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

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

8
boards/intel/niosv_m/Kconfig.niosv_m

@ -0,0 +1,8 @@ @@ -0,0 +1,8 @@
# Copyright (C) 2023-2024, Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
config BOARD_NIOSV_M
select SOC_NIOSV_M
help
Intel FPGA NIOSV Microcontroller Core Processor

4
boards/intel/niosv_m/board.yml

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

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

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

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

6
boards/boards_legacy/riscv/niosv_m/niosv_m_defconfig → boards/intel/niosv_m/niosv_m_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_M=y
CONFIG_BOARD_NIOSV_M=y
CONFIG_CONSOLE=y
CONFIG_PRINTK=y
CONFIG_SERIAL=y
Loading…
Cancel
Save