diff options
Diffstat (limited to 'platform')
-rw-r--r-- | platform/ext/common/tfm_hal_sp_logdev_periph.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/platform/ext/common/tfm_hal_sp_logdev_periph.c b/platform/ext/common/tfm_hal_sp_logdev_periph.c index 177fb83867..9929d53a29 100644 --- a/platform/ext/common/tfm_hal_sp_logdev_periph.c +++ b/platform/ext/common/tfm_hal_sp_logdev_periph.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020, Arm Limited. All rights reserved. + * Copyright (c) 2020-2021, Arm Limited. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause * @@ -7,7 +7,12 @@ #include "tfm_hal_sp_logdev.h" #include "uart_stdout.h" -#include "tfm/tfm_core_svc.h" +#ifdef TFM_PSA_API +#include "svc_num.h" +#else +#include "tfm_core_svc.h" +#endif /* TFM_PSA_API */ +#include "tfm_hal_device_header.h" __attribute__((naked)) static int tfm_output_unpriv_string(const unsigned char *str, size_t len) |