diff options
author | Alex White <alex.white@oarcorp.com> | 2022-10-17 15:42:25 -0500 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2023-02-06 14:29:24 -0600 |
commit | 63b21ad5e03469520cefe39a510ef56fc499cb0c (patch) | |
tree | 38f9ecd74972852c36b4f8cdfd9aea4ec1e42198 /spec/build/bsps/microblaze/microblaze_fpga | |
parent | sha512_224: Fix SHA512_224_Final() on little-endian machines. (diff) | |
download | rtems-63b21ad5e03469520cefe39a510ef56fc499cb0c.tar.bz2 |
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.
Diffstat (limited to '')
-rw-r--r-- | spec/build/bsps/microblaze/microblaze_fpga/grp.yml | 2 | ||||
-rw-r--r-- | spec/build/bsps/microblaze/microblaze_fpga/obj.yml | 3 | ||||
-rw-r--r-- | spec/build/bsps/microblaze/microblaze_fpga/optusefdt.yml | 17 |
3 files changed, 21 insertions, 1 deletions
diff --git a/spec/build/bsps/microblaze/microblaze_fpga/grp.yml b/spec/build/bsps/microblaze/microblaze_fpga/grp.yml index c196a74e43..f3088a68a3 100644 --- a/spec/build/bsps/microblaze/microblaze_fpga/grp.yml +++ b/spec/build/bsps/microblaze/microblaze_fpga/grp.yml @@ -49,6 +49,8 @@ links: - role: build-dependency uid: optuartlitebaseaddress - role: build-dependency + uid: optusefdt +- role: build-dependency uid: ../../obj - role: build-dependency uid: ../../objdevspixil diff --git a/spec/build/bsps/microblaze/microblaze_fpga/obj.yml b/spec/build/bsps/microblaze/microblaze_fpga/obj.yml index 0c7085292a..2bbe50d3d9 100644 --- a/spec/build/bsps/microblaze/microblaze_fpga/obj.yml +++ b/spec/build/bsps/microblaze/microblaze_fpga/obj.yml @@ -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 diff --git a/spec/build/bsps/microblaze/microblaze_fpga/optusefdt.yml b/spec/build/bsps/microblaze/microblaze_fpga/optusefdt.yml new file mode 100644 index 0000000000..47cd9cf9f1 --- /dev/null +++ b/spec/build/bsps/microblaze/microblaze_fpga/optusefdt.yml @@ -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 |