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>
This commit is contained in:
Dmitrii Golovanov
2024-02-11 18:13:39 +01:00
committed by Carles Cufi
parent 545093abe4
commit dffc08af56
8 changed files with 14 additions and 19 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

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

View File

@@ -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