aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/services/spci_svc.h4
-rw-r--r--plat/arm/board/fvp/fdts/fvp_spmc_manifest.dts4
-rw-r--r--services/std_svc/spmd/spmd_main.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/include/services/spci_svc.h b/include/services/spci_svc.h
index 49ba408586..7b2a1f0d3c 100644
--- a/include/services/spci_svc.h
+++ b/include/services/spci_svc.h
@@ -29,10 +29,10 @@
(GET_SMC_NUM(_fid) <= SPCI_FNUM_MAX_VALUE)); })
/* SPCI_VERSION helpers */
-#define SPCI_VERSION_MAJOR U(0)
+#define SPCI_VERSION_MAJOR U(1)
#define SPCI_VERSION_MAJOR_SHIFT 16
#define SPCI_VERSION_MAJOR_MASK U(0x7FFF)
-#define SPCI_VERSION_MINOR U(9)
+#define SPCI_VERSION_MINOR U(0)
#define SPCI_VERSION_MINOR_SHIFT 0
#define SPCI_VERSION_MINOR_MASK U(0xFFFF)
diff --git a/plat/arm/board/fvp/fdts/fvp_spmc_manifest.dts b/plat/arm/board/fvp/fdts/fvp_spmc_manifest.dts
index 191f064659..8e7fd881ab 100644
--- a/plat/arm/board/fvp/fdts/fvp_spmc_manifest.dts
+++ b/plat/arm/board/fvp/fdts/fvp_spmc_manifest.dts
@@ -10,8 +10,8 @@
attribute {
spmc_id = <0x8000>;
- maj_ver = <0x0>;
- min_ver = <0x9>;
+ maj_ver = <0x1>;
+ min_ver = <0x0>;
exec_state = <0x0>;
load_address = <0x0 0x6000000>;
entrypoint = <0x0 0x6000000>;
diff --git a/services/std_svc/spmd/spmd_main.c b/services/std_svc/spmd/spmd_main.c
index 2945bf4268..8a4c69f206 100644
--- a/services/std_svc/spmd/spmd_main.c
+++ b/services/std_svc/spmd/spmd_main.c
@@ -405,7 +405,7 @@ uint64_t spmd_smc_handler(uint32_t smc_fid,
*/
ret = MAKE_SPCI_VERSION(spmc_attrs.major_version,
spmc_attrs.minor_version);
- SMC_RET8(handle, SPCI_SUCCESS_SMC32, SPCI_TARGET_INFO_MBZ, ret,
+ SMC_RET8(handle, ret, SPCI_TARGET_INFO_MBZ, SPCI_TARGET_INFO_MBZ,
SPCI_PARAM_MBZ, SPCI_PARAM_MBZ, SPCI_PARAM_MBZ,
SPCI_PARAM_MBZ, SPCI_PARAM_MBZ);
break; /* not reached */