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>
This commit is contained in:
Dmitrii Golovanov
2024-02-11 17:58:03 +01:00
committed by Carles Cufi
parent ecfa192f1b
commit 545093abe4
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_G
bool "Intel FPGA Nios V/g General Purpose Processor"
depends on SOC_NIOSV_G

View File

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

View File

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

View File

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

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_G=y
CONFIG_BOARD_NIOSV_G=y
CONFIG_CONSOLE=y
CONFIG_PRINTK=y
CONFIG_SERIAL=y