diff options
author | Raef Coles <raef.coles@arm.com> | 2021-01-07 15:42:38 +0000 |
---|---|---|
committer | Kevin Peng <kevin.peng@arm.com> | 2021-01-19 07:26:49 +0000 |
commit | 79d8208f6783b7a7df6452cde73e10f660b952a1 (patch) | |
tree | e4845571103a19740de279abf9cbcb8bed0c357a /platform/include/tfm_platform_system.h | |
parent | e38a4841b846597197cf488b540eb7d2f666be6c (diff) | |
download | trusted-firmware-m-79d8208f6783b7a7df6452cde73e10f660b952a1.tar.gz |
Platform: Add linker script for LVL1 and LVL2
Instead of generating from template. Also, update the macros used to
place symbols into a particular sections to match the new linker scripts.
Change-Id: I7b0f14687ba0bb4e6d2f1ffdfe70030738bfbec3
Signed-off-by: Raef Coles <raef.coles@arm.com>
Diffstat (limited to 'platform/include/tfm_platform_system.h')
-rw-r--r-- | platform/include/tfm_platform_system.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/include/tfm_platform_system.h b/platform/include/tfm_platform_system.h index c297d3b766..40bd13026c 100644 --- a/platform/include/tfm_platform_system.h +++ b/platform/include/tfm_platform_system.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2019, Arm Limited. All rights reserved. + * Copyright (c) 2018-2021, Arm Limited. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause * @@ -25,7 +25,7 @@ extern "C" { * * \details Requests a system reset to reset the MCU. */ -TFM_LINK_SET_RO_IN_PARTITION_SECTION("TFM_SP_PLATFORM") +TFM_LINK_SET_RO_IN_PARTITION_SECTION("TFM_SP_PLATFORM", "PSA-ROT") void tfm_platform_hal_system_reset(void); /*! @@ -38,7 +38,7 @@ void tfm_platform_hal_system_reset(void); * * \return Returns values as specified by the \ref tfm_platform_err_t */ -TFM_LINK_SET_RO_IN_PARTITION_SECTION("TFM_SP_PLATFORM") +TFM_LINK_SET_RO_IN_PARTITION_SECTION("TFM_SP_PLATFORM", "PSA-ROT") enum tfm_platform_err_t tfm_platform_hal_ioctl(tfm_platform_ioctl_req_t request, psa_invec *in_vec, psa_outvec *out_vec); |