commit | 56f55c9df9e878bfaa850c6192ebbbd922576185 | [log] [tgz] |
---|---|---|
author | Andre Przywara <andre.przywara@arm.com> | Wed Feb 10 16:40:24 2021 +0000 |
committer | Andre Przywara <andre.przywara@arm.com> | Wed Feb 10 17:34:45 2021 +0000 |
tree | d6f882459839f9e4721c0019f581f9e90f1043a2 | |
parent | ad28fa6d3745954e3f3f57feed8b205b720e2d6d [diff] |
services: TRNG: Fix -O0 compilation The code to check for the presence of the TRNG service relies on toolchain garbage collection, which is not enabled with -O0. Add #ifdef guards around the call to the TRNG service handler to cover builds without optimisation as well. Change-Id: I08ece2005ea1c8fa96afa13904a851dec6b24216 Signed-off-by: Andre Przywara <andre.przywara@arm.com>