bsps/microblaze: Add device tree getter

This allows drivers to read configuration data from the device tree if
the BSP is built with device tree support.
This commit is contained in:
Alex White
2022-10-17 15:42:25 -05:00
committed by Joel Sherrill
parent a67b944329
commit 63b21ad5e0
7 changed files with 161 additions and 24 deletions

View File

@@ -48,6 +48,8 @@ links:
uid: opttimerfrequency
- role: build-dependency
uid: optuartlitebaseaddress
- role: build-dependency
uid: optusefdt
- role: build-dependency
uid: ../../obj
- role: build-dependency

View File

@@ -15,6 +15,7 @@ install:
source:
- bsps/microblaze/microblaze_fpga/include/bsp/irq.h
- bsps/microblaze/microblaze_fpga/include/bsp/jffs2_qspi.h
- bsps/microblaze/include/bsp/microblaze-fdt-support.h
- bsps/microblaze/include/common/xil_types.h
- bsps/microblaze/include/dev/serial/uartlite.h
- bsps/microblaze/include/dev/serial/uartlite_l.h
@@ -23,7 +24,6 @@ source:
- bsps/microblaze/microblaze_fpga/clock/clock.c
- bsps/microblaze/microblaze_fpga/console/console-io.c
- bsps/microblaze/microblaze_fpga/console/debug-io.c
- bsps/microblaze/microblaze_fpga/fdt/bsp_fdt.c
- bsps/microblaze/microblaze_fpga/fs/jffs2_qspi.c
- bsps/microblaze/microblaze_fpga/irq/irq.c
- bsps/microblaze/microblaze_fpga/start/_debug_sw_break_handler.S
@@ -38,6 +38,7 @@ source:
- bsps/microblaze/microblaze_fpga/start/microblaze_invalidate_icache.S
- bsps/microblaze/shared/dev/serial/uartlite.c
- bsps/microblaze/shared/dev/serial/uartlite_l.c
- bsps/microblaze/shared/fdt/microblaze-fdt-support.c
- bsps/shared/cache/nocache.c
- bsps/shared/dev/btimer/btimer-cpucounter.c
- bsps/shared/dev/cpucounter/cpucounterfrequency.c

View File

@@ -0,0 +1,17 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-boolean: null
- define-condition: null
build-type: option
copyrights:
- Copyright (C) 2022 On-Line Applications Research Corporation (OAR)
default:
- enabled-by: true
value: true
default-by-variant: []
description: |
define if FDT is used
enabled-by: true
links: []
name: BSP_MICROBLAZE_FPGA_USE_FDT
type: build