boards: arm: zybo: Convert to v2
Converts the board to hwmv2 Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
# Digilent Zybo board
|
||||
|
||||
# Copyright (c) 2022 Henrik Brix Andersen <henrik@brixandersen.dk>
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if BOARD_ZYBO
|
||||
|
||||
config BOARD
|
||||
default "zybo"
|
||||
|
||||
endif # BOARD_ZYBO
|
||||
@@ -4,5 +4,4 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_ZYBO
|
||||
bool "Digilent Zybo"
|
||||
depends on SOC_XILINX_XC7Z010
|
||||
select SOC_XILINX_XC7Z010
|
||||
5
boards/digilent/zybo/board.yml
Normal file
5
boards/digilent/zybo/board.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
board:
|
||||
name: zybo
|
||||
vendor: Digilent
|
||||
socs:
|
||||
- name: xc7z010
|
||||
|
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 48 KiB |
@@ -1,9 +1,5 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_SOC_SERIES_XILINX_XC7ZXXX=y
|
||||
CONFIG_SOC_XILINX_XC7Z010=y
|
||||
CONFIG_BOARD_ZYBO=y
|
||||
|
||||
# The GTC is always clocked at 1/2 of the CPU frequency (CPU_3x2x)
|
||||
CONFIG_ARM_ARCH_TIMER=y
|
||||
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=325000000
|
||||
Reference in New Issue
Block a user