summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPadmarao Begari <padmarao.begari@microchip.com>2022-09-19 18:30:25 +0530
committerJoel Sherrill <joel@rtems.org>2022-09-20 12:00:51 -0500
commit974c6ea9d6919eb2028956d7500c7d7fde63cec9 (patch)
treef3acd561ed82597fe904cbb66be53182cbe157dd
parentbsps/riscv: Add device tree blob (diff)
downloadrtems-974c6ea9d6919eb2028956d7500c7d7fde63cec9.tar.bz2
spec/build/bsps: Add dtb support
Add dtb and dtb header path configurable build option
-rw-r--r--spec/build/bsps/optdtb.yml19
-rw-r--r--spec/build/bsps/optdtbheaderpath.yml20
2 files changed, 39 insertions, 0 deletions
diff --git a/spec/build/bsps/optdtb.yml b/spec/build/bsps/optdtb.yml
new file mode 100644
index 0000000000..54ae7aa770
--- /dev/null
+++ b/spec/build/bsps/optdtb.yml
@@ -0,0 +1,19 @@
+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) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - riscv/mpfs64.*
+description: |
+ the path to the header file containing the device tree binary. See the BSP
+ documentation for more information.
+enabled-by: true
+links: []
+name: BSP_DTB_IS_SUPPORTED
+type: build
diff --git a/spec/build/bsps/optdtbheaderpath.yml b/spec/build/bsps/optdtbheaderpath.yml
new file mode 100644
index 0000000000..7e294ce058
--- /dev/null
+++ b/spec/build/bsps/optdtbheaderpath.yml
@@ -0,0 +1,20 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2022 On-Line Applications Research Corporation (OAR)
+default: false
+default-by-variant:
+- value: bsp/mpfs-dtb.h
+ variants:
+ - riscv/mpfs64.*
+description: |
+ the path to the header file containing the device tree binary. See the BSP
+ documentation for more information.
+enabled-by: true
+format: '{}'
+links: []
+name: BSP_DTB_HEADER_PATH
+type: build