[PATCH] bsps/raspberrypi: Add FDT defines to build options
pranav
dangipranav at gmail.com
Fri Jun 25 16:18:27 UTC 2021
---
spec/build/bsps/arm/raspberrypi/grp.yml | 8 ++++++++
spec/build/bsps/arm/raspberrypi/optfdtcpyro.yml | 15 +++++++++++++++
spec/build/bsps/arm/raspberrypi/optfdtmxsz.yml | 16 ++++++++++++++++
spec/build/bsps/arm/raspberrypi/optfdtro.yml | 15 +++++++++++++++
spec/build/bsps/arm/raspberrypi/optfdtuboot.yml | 15 +++++++++++++++
5 files changed, 69 insertions(+)
create mode 100644 spec/build/bsps/arm/raspberrypi/optfdtcpyro.yml
create mode 100644 spec/build/bsps/arm/raspberrypi/optfdtmxsz.yml
create mode 100644 spec/build/bsps/arm/raspberrypi/optfdtro.yml
create mode 100644 spec/build/bsps/arm/raspberrypi/optfdtuboot.yml
diff --git a/spec/build/bsps/arm/raspberrypi/grp.yml b/spec/build/bsps/arm/raspberrypi/grp.yml
index 7291e8b178..a810fdd529 100644
--- a/spec/build/bsps/arm/raspberrypi/grp.yml
+++ b/spec/build/bsps/arm/raspberrypi/grp.yml
@@ -31,6 +31,14 @@ links:
uid: optrpi2
- role: build-dependency
uid: optspiiomode
+- role: build-dependency
+ uid: optfdtuboot
+- role: build-dependency
+ uid: optfdtcpyro
+- role: build-dependency
+ uid: optfdtmxsz
+- role: build-dependency
+ uid: optfdtro
- role: build-dependency
uid: ../start
- role: build-dependency
diff --git a/spec/build/bsps/arm/raspberrypi/optfdtcpyro.yml b/spec/build/bsps/arm/raspberrypi/optfdtcpyro.yml
new file mode 100644
index 0000000000..c26b1ae051
--- /dev/null
+++ b/spec/build/bsps/arm/raspberrypi/optfdtcpyro.yml
@@ -0,0 +1,15 @@
+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: true
+default-by-variant: []
+description: |
+ copy the FDT blob into the read-only load area via bsp_fdt_copy()
+enabled-by: true
+links: []
+name: BSP_FDT_BLOB_COPY_TO_READ_ONLY_LOAD_AREA
+type: build
diff --git a/spec/build/bsps/arm/raspberrypi/optfdtmxsz.yml b/spec/build/bsps/arm/raspberrypi/optfdtmxsz.yml
new file mode 100644
index 0000000000..14af766230
--- /dev/null
+++ b/spec/build/bsps/arm/raspberrypi/optfdtmxsz.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 262144
+default-by-variant: []
+description: |
+ maximum size of the FDT blob in bytes
+enabled-by: true
+format: '{}'
+links: []
+name: BSP_FDT_BLOB_SIZE_MAX
+type: build
diff --git a/spec/build/bsps/arm/raspberrypi/optfdtro.yml b/spec/build/bsps/arm/raspberrypi/optfdtro.yml
new file mode 100644
index 0000000000..a61bb2924b
--- /dev/null
+++ b/spec/build/bsps/arm/raspberrypi/optfdtro.yml
@@ -0,0 +1,15 @@
+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: true
+default-by-variant: []
+description: |
+ place the FDT blob into the read-only data area
+enabled-by: true
+links: []
+name: BSP_FDT_BLOB_READ_ONLY
+type: build
diff --git a/spec/build/bsps/arm/raspberrypi/optfdtuboot.yml b/spec/build/bsps/arm/raspberrypi/optfdtuboot.yml
new file mode 100644
index 0000000000..5805e912ff
--- /dev/null
+++ b/spec/build/bsps/arm/raspberrypi/optfdtuboot.yml
@@ -0,0 +1,15 @@
+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: true
+default-by-variant: []
+description: |
+ copy the U-Boot provided FDT to an internal storage
+enabled-by: true
+links: []
+name: BSP_START_COPY_FDT_FROM_U_BOOT
+type: build
--
2.27.0
More information about the devel
mailing list