summaryrefslogtreecommitdiffstats
path: root/spec/build/bsps/riscv/riscv
diff options
context:
space:
mode:
Diffstat (limited to 'spec/build/bsps/riscv/riscv')
-rw-r--r--spec/build/bsps/riscv/riscv/abi.yml6
-rw-r--r--spec/build/bsps/riscv/riscv/bspmpfs64imafdc.yml19
-rw-r--r--spec/build/bsps/riscv/riscv/grp.yml6
-rw-r--r--spec/build/bsps/riscv/riscv/optmpfs.yml18
-rw-r--r--spec/build/bsps/riscv/riscv/optns16550max.yml3
5 files changed, 52 insertions, 0 deletions
diff --git a/spec/build/bsps/riscv/riscv/abi.yml b/spec/build/bsps/riscv/riscv/abi.yml
index e975b87c4c..3ef8b0681d 100644
--- a/spec/build/bsps/riscv/riscv/abi.yml
+++ b/spec/build/bsps/riscv/riscv/abi.yml
@@ -15,6 +15,12 @@ default-by-variant:
- -mabi=lp64d
- -mcmodel=medany
variants:
+ - riscv/mpfs64imafdc
+- value:
+ - -march=rv64imafdc
+ - -mabi=lp64d
+ - -mcmodel=medany
+ variants:
- riscv/rv64imafdc_medany
- value:
- -march=rv64imafdc
diff --git a/spec/build/bsps/riscv/riscv/bspmpfs64imafdc.yml b/spec/build/bsps/riscv/riscv/bspmpfs64imafdc.yml
new file mode 100644
index 0000000000..c12703d79b
--- /dev/null
+++ b/spec/build/bsps/riscv/riscv/bspmpfs64imafdc.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: riscv
+bsp: mpfs64imafdc
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: riscv
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/riscv/riscv/grp.yml b/spec/build/bsps/riscv/riscv/grp.yml
index 7f773d91ee..713c15509a 100644
--- a/spec/build/bsps/riscv/riscv/grp.yml
+++ b/spec/build/bsps/riscv/riscv/grp.yml
@@ -45,10 +45,16 @@ links:
- role: build-dependency
uid: ../../optfdtuboot
- role: build-dependency
+ uid: ../../optdtb
+- role: build-dependency
+ uid: ../../optdtbheaderpath
+- role: build-dependency
uid: optfrdme310arty
- role: build-dependency
uid: opthtif
- role: build-dependency
+ uid: optmpfs
+- role: build-dependency
uid: optns16550max
- role: build-dependency
uid: ../linkcmds
diff --git a/spec/build/bsps/riscv/riscv/optmpfs.yml b/spec/build/bsps/riscv/riscv/optmpfs.yml
new file mode 100644
index 0000000000..17614567e3
--- /dev/null
+++ b/spec/build/bsps/riscv/riscv/optmpfs.yml
@@ -0,0 +1,18 @@
+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: |
+ enables support Microchip PolarFire SoC if defined to a non-zero value,otherwise it is disabled (disabled by default)
+enabled-by: true
+links: []
+name: RISCV_ENABLE_MPFS_SUPPORT
+type: build
diff --git a/spec/build/bsps/riscv/riscv/optns16550max.yml b/spec/build/bsps/riscv/riscv/optns16550max.yml
index 7e385a57b7..66189cfdfd 100644
--- a/spec/build/bsps/riscv/riscv/optns16550max.yml
+++ b/spec/build/bsps/riscv/riscv/optns16550max.yml
@@ -10,6 +10,9 @@ default-by-variant:
- value: null
variants:
- riscv/frdme310arty.*
+- value: 1
+ variants:
+ - riscv/mpfs64.*
description: |
maximum number of NS16550 devices supported by the console driver (2 by default)
enabled-by: true