diff options
author | bipin.ravi <bipin.ravi@arm.com> | 2021-02-10 21:52:04 +0000 |
---|---|---|
committer | TrustedFirmware Code Review <review@review.trustedfirmware.org> | 2021-02-10 21:52:04 +0000 |
commit | 04c122310477da976ccd720861561e12b73a785e (patch) | |
tree | d6f882459839f9e4721c0019f581f9e90f1043a2 | |
parent | 925477ece458270875b39aa42c3678bf05b40689 (diff) | |
parent | 323b6c6305805de1d7cde053d26f17c04fc41036 (diff) | |
download | arm-trusted-firmware-04c122310477da976ccd720861561e12b73a785e.tar.gz |
Merge "services: TRNG: Fix -O0 compilation" into integration
-rw-r--r-- | services/std_svc/std_svc_setup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/services/std_svc/std_svc_setup.c b/services/std_svc/std_svc_setup.c index 8f63c7316..23f13ab82 100644 --- a/services/std_svc/std_svc_setup.c +++ b/services/std_svc/std_svc_setup.c @@ -142,10 +142,12 @@ static uintptr_t std_svc_smc_handler(uint32_t smc_fid, } #endif +#if TRNG_SUPPORT if (is_trng_fid(smc_fid)) { return trng_smc_handler(smc_fid, x1, x2, x3, x4, cookie, handle, flags); } +#endif switch (smc_fid) { case ARM_STD_SVC_CALL_COUNT: |