diff options
author | John Tsichritzis <john.tsichritzis@arm.com> | 2019-04-16 12:05:29 +0100 |
---|---|---|
committer | John Tsichritzis <john.tsichritzis@arm.com> | 2019-04-16 14:48:55 +0100 |
commit | 5d149bdb18c0c6fb0aa76f32e0ffbb9f9269c994 (patch) | |
tree | 1a2edff248b58c15d38bb713fce6a68f1eb97cb6 /plat | |
parent | 6cf7b2184b0b547f35aa8464c07b290f5f3922e5 (diff) | |
download | platform_external_arm-trusted-firmware-5d149bdb18c0c6fb0aa76f32e0ffbb9f9269c994.tar.gz platform_external_arm-trusted-firmware-5d149bdb18c0c6fb0aa76f32e0ffbb9f9269c994.tar.bz2 platform_external_arm-trusted-firmware-5d149bdb18c0c6fb0aa76f32e0ffbb9f9269c994.zip |
Temporarily disable shared Mbed TLS heap for SGM
There is a bug in the shared heap implementation for SGM. Until the bug
is solved, the default implementation is used.
Change-Id: I010911a3f00ed860f742b14daad1d99b9e7ce711
Signed-off-by: John Tsichritzis <john.tsichritzis@arm.com>
Diffstat (limited to 'plat')
-rw-r--r-- | plat/arm/css/sgm/sgm_plat_config.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/plat/arm/css/sgm/sgm_plat_config.c b/plat/arm/css/sgm/sgm_plat_config.c index d9e65c513..eed36314d 100644 --- a/plat/arm/css/sgm/sgm_plat_config.c +++ b/plat/arm/css/sgm/sgm_plat_config.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018, ARM Limited and Contributors. All rights reserved. + * Copyright (c) 2018-2019, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ @@ -10,6 +10,7 @@ #include <platform_def.h> #include <common/debug.h> +#include <plat/common/platform.h> #include <plat/arm/common/plat_arm.h> #include <sgm_plat_config.h> @@ -74,9 +75,6 @@ css_plat_config_t *get_plat_config(void) #if TRUSTED_BOARD_BOOT int plat_get_mbedtls_heap(void **heap_addr, size_t *heap_size) { - assert(heap_addr != NULL); - assert(heap_size != NULL); - - return arm_get_mbedtls_heap(heap_addr, heap_size); + return get_mbedtls_heap_helper(heap_addr, heap_size); } #endif |