boards: nios2: altera_max10: Convert to v2

Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This commit is contained in:
Jamie McCrae
2024-01-11 13:57:50 +00:00
parent c381edcb73
commit a223f284b5
10 changed files with 6 additions and 15 deletions

View File

@@ -1,5 +1,4 @@
# SPDX-License-Identifier: Apache-2.0
config BOARD_ALTERA_MAX10
bool "Altera MAX10 Board"
depends on SOC_NIOS2F_ZEPHYR
select SOC_NIOS2F_ZEPHYR

View File

@@ -2,22 +2,11 @@
if BOARD_ALTERA_MAX10
config BOARD
default "altera_max10"
if FLASH
config SOC_FLASH_NIOS2_QSPI
default y
if SOC_FLASH_NIOS2_QSPI
if DISK_DRIVER_FLASH
endif # DISK_DRIVER_FLASH
endif # SOC_FLASH_NIOS2_QSPI
endif # FLASH
endif # BOARD_ALTERA_MAX10

View File

@@ -1,7 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_SOC_NIOS2F_ZEPHYR=y
CONFIG_BOARD_ALTERA_MAX10=y
CONFIG_HAS_ALTERA_HAL=y
CONFIG_CONSOLE=y
CONFIG_SERIAL=y

View File

@@ -0,0 +1,5 @@
board:
name: altera_max10
vendor: Altera Corporation
socs:
- name: nios2f-zephyr

View File

Before

Width:  |  Height:  |  Size: 44 KiB

After

Width:  |  Height:  |  Size: 44 KiB

View File

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 40 KiB