diff options
Diffstat (limited to 'platform/ext/target/nuvoton/common/spm_hal.c')
-rw-r--r-- | platform/ext/target/nuvoton/common/spm_hal.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/platform/ext/target/nuvoton/common/spm_hal.c b/platform/ext/target/nuvoton/common/spm_hal.c index 500593bbf2..9772399d3d 100644 --- a/platform/ext/target/nuvoton/common/spm_hal.c +++ b/platform/ext/target/nuvoton/common/spm_hal.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2020, Arm Limited. All rights reserved. + * Copyright (c) 2018-2021, Arm Limited. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause * @@ -22,11 +22,9 @@ extern ARM_DRIVER_MPC Driver_SRAM1_MPC; extern const struct memory_region_limits memory_regions; enum tfm_plat_err_t tfm_spm_hal_configure_default_isolation( - uint32_t partition_idx, + bool privileged, const struct platform_data_t *platform_data) { - bool privileged = tfm_is_partition_privileged(partition_idx); - if (!platform_data) { return TFM_PLAT_ERR_INVALID_INPUT; } |