[rtems commit] bsps/zynqmp: Allow any or all CGEMs to be enabled
Joel Sherrill
joel at rtems.org
Mon Jun 28 14:13:24 UTC 2021
Module: rtems
Branch: master
Commit: 10041a4cfc00d5f6876d3d6cfc30c23347b4cf42
Changeset: http://git.rtems.org/rtems/commit/?id=10041a4cfc00d5f6876d3d6cfc30c23347b4cf42
Author: Kinsey Moore <kinsey.moore at oarcorp.com>
Date: Tue Jun 8 14:25:47 2021 -0500
bsps/zynqmp: Allow any or all CGEMs to be enabled
Provide the options necessary to enable any combination of CGEM ethernet
interfaces in LibBSD. The default is still CGEM3, so this should
continue to operate as expected on typical Zynq Ultrascale+ MPSoC
development hardware.
---
spec/build/bsps/aarch64/xilinx-zynqmp/grp.yml | 8 ++++++++
spec/build/bsps/aarch64/xilinx-zynqmp/optcgem0.yml | 16 ++++++++++++++++
spec/build/bsps/aarch64/xilinx-zynqmp/optcgem1.yml | 16 ++++++++++++++++
spec/build/bsps/aarch64/xilinx-zynqmp/optcgem2.yml | 16 ++++++++++++++++
spec/build/bsps/aarch64/xilinx-zynqmp/optcgem3.yml | 16 ++++++++++++++++
5 files changed, 72 insertions(+)
diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/grp.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/grp.yml
index 03ccdbb..e13e244 100644
--- a/spec/build/bsps/aarch64/xilinx-zynqmp/grp.yml
+++ b/spec/build/bsps/aarch64/xilinx-zynqmp/grp.yml
@@ -30,6 +30,14 @@ links:
- role: build-dependency
uid: optclkuart
- role: build-dependency
+ uid: optcgem0
+- role: build-dependency
+ uid: optcgem1
+- role: build-dependency
+ uid: optcgem2
+- role: build-dependency
+ uid: optcgem3
+- role: build-dependency
uid: ../../optconminor
- role: build-dependency
uid: ../../obj
diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/optcgem0.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/optcgem0.yml
new file mode 100644
index 0000000..fc878fd
--- /dev/null
+++ b/spec/build/bsps/aarch64/xilinx-zynqmp/optcgem0.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- env-enable: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2021 On-Line Applications Research
+default: false
+default-by-variant: []
+description: |
+ Enable support for CGEM0
+enabled-by: true
+links: []
+name: BSP_XILINX_ZYNQMP_USE_CGEM0
+type: build
diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/optcgem1.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/optcgem1.yml
new file mode 100644
index 0000000..6d5096b
--- /dev/null
+++ b/spec/build/bsps/aarch64/xilinx-zynqmp/optcgem1.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- env-enable: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2021 On-Line Applications Research
+default: false
+default-by-variant: []
+description: |
+ Enable support for CGEM1
+enabled-by: true
+links: []
+name: BSP_XILINX_ZYNQMP_USE_CGEM1
+type: build
diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/optcgem2.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/optcgem2.yml
new file mode 100644
index 0000000..a8aca3e
--- /dev/null
+++ b/spec/build/bsps/aarch64/xilinx-zynqmp/optcgem2.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- env-enable: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2021 On-Line Applications Research
+default: false
+default-by-variant: []
+description: |
+ Enable support for CGEM2
+enabled-by: true
+links: []
+name: BSP_XILINX_ZYNQMP_USE_CGEM2
+type: build
diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/optcgem3.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/optcgem3.yml
new file mode 100644
index 0000000..8275ad3
--- /dev/null
+++ b/spec/build/bsps/aarch64/xilinx-zynqmp/optcgem3.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- env-enable: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2021 On-Line Applications Research
+default: true
+default-by-variant: []
+description: |
+ Enable support for CGEM3
+enabled-by: true
+links: []
+name: BSP_XILINX_ZYNQMP_USE_CGEM3
+type: build
More information about the vc
mailing list