summaryrefslogtreecommitdiffstats
path: root/spec/build/cpukit
diff options
context:
space:
mode:
authorPadmarao Begari <padmarao.begari@microchip.com>2022-09-19 18:30:26 +0530
committerJoel Sherrill <joel@rtems.org>2022-09-20 12:00:51 -0500
commit6b0d3c987349d188b65e9fc8229daeba247928c5 (patch)
tree4f6f37aaab9be619b82612eb4f000a42549488ca /spec/build/cpukit
parentspec/build/bsps: Add dtb support (diff)
downloadrtems-6b0d3c987349d188b65e9fc8229daeba247928c5.tar.bz2
bsps/riscv: Add Microchip PolarFire SoC BSP variant
The Microchip PolarFire SoC support is implemented as a riscv BSP variant to boot with any individual hart(cpu core) or SMP based on the boot HARTID configurable and support components are 4 CPU Cores (U54), Interrupt controller (PLIC), Timer (CLINT), UART.
Diffstat (limited to 'spec/build/cpukit')
-rw-r--r--spec/build/cpukit/cpuopts.yml2
-rw-r--r--spec/build/cpukit/optarchbits.yml1
-rw-r--r--spec/build/cpukit/optboothartid.yml19
-rw-r--r--spec/build/cpukit/optsmp.yml1
4 files changed, 23 insertions, 0 deletions
diff --git a/spec/build/cpukit/cpuopts.yml b/spec/build/cpukit/cpuopts.yml
index 86cc7f676a..dcfca62d05 100644
--- a/spec/build/cpukit/cpuopts.yml
+++ b/spec/build/cpukit/cpuopts.yml
@@ -34,6 +34,8 @@ links:
- role: build-dependency
uid: optada
- role: build-dependency
+ uid: optboothartid
+- role: build-dependency
uid: optbuildlabel
- role: build-dependency
uid: optdebug
diff --git a/spec/build/cpukit/optarchbits.yml b/spec/build/cpukit/optarchbits.yml
index f7b652cc60..0ec4a9fe7e 100644
--- a/spec/build/cpukit/optarchbits.yml
+++ b/spec/build/cpukit/optarchbits.yml
@@ -11,6 +11,7 @@ default-by-variant:
- value:
- '64'
variants:
+ - riscv/mpfs64.*
- riscv/noel64.*
- riscv/rv64.*
- value:
diff --git a/spec/build/cpukit/optboothartid.yml b/spec/build/cpukit/optboothartid.yml
new file mode 100644
index 0000000000..ede4e5ead8
--- /dev/null
+++ b/spec/build/cpukit/optboothartid.yml
@@ -0,0 +1,19 @@
+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: 0
+default-by-variant:
+- value: 1
+ variants:
+ - riscv/mpfs64.*
+description: |
+ boot hartid (processor number) of risc-v cpu (default 0)
+enabled-by: true
+format: '{}'
+links: []
+name: RISCV_BOOT_HARTID
+type: build
diff --git a/spec/build/cpukit/optsmp.yml b/spec/build/cpukit/optsmp.yml
index a9e62bf8b9..b218364194 100644
--- a/spec/build/cpukit/optsmp.yml
+++ b/spec/build/cpukit/optsmp.yml
@@ -31,6 +31,7 @@ enabled-by:
- riscv/griscv
- riscv/grv32imac
- riscv/grv32imafdc
+- riscv/mpfs64imafdc
- riscv/noel32imafd
- riscv/noel64imac
- riscv/noel64imafdc