boards: arm: npcx4m8f_evb: 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-02-02 09:13:35 +00:00
parent 5500f3ef21
commit 21ddc5e6a6
11 changed files with 6 additions and 13 deletions

View File

@@ -1,13 +1,6 @@
# Copyright (c) 2023 Nuvoton Technology Corporation.
# SPDX-License-Identifier: Apache-2.0
if BOARD_NPCX4M8F_EVB
config BOARD
default "npcx4m8f_evb"
endif # BOARD_NPCX4M8F_EVB
config SYS_CLOCK_TICKS_PER_SEC
default 1000

View File

@@ -2,5 +2,4 @@
# SPDX-License-Identifier: Apache-2.0
config BOARD_NPCX4M8F_EVB
bool "Nuvoton NPCX4M8F EVB Development board"
depends on SOC_NPCX4M8F
select SOC_NPCX4M8F

View File

@@ -0,0 +1,5 @@
board:
name: npcx4m8f_evb
vendor: Nuvoton
socs:
- name: npcx4m8f

View File

Before

Width:  |  Height:  |  Size: 94 KiB

After

Width:  |  Height:  |  Size: 94 KiB

View File

@@ -4,10 +4,6 @@
# SPDX-License-Identifier: Apache-2.0
#
CONFIG_SOC_NPCX4M8F=y
CONFIG_SOC_SERIES_NPCX4=y
CONFIG_BOARD_NPCX4M8F_EVB=y
# Enable NPCX firmware header
CONFIG_NPCX_HEADER=y
CONFIG_NPCX_IMAGE_OUTPUT_HEX=y