summaryrefslogtreecommitdiff
path: root/plat/hisilicon/hikey960
diff options
context:
space:
mode:
authorAntonio Niño Díaz <antonio.ninodiaz@arm.com>2019-04-12 10:40:15 +0000
committerTrustedFirmware Code Review <review@review.trustedfirmware.org>2019-04-12 10:40:15 +0000
commit72db70ca184c0db10d920923288bc2f1e009e19f (patch)
tree14400d6a6fac2eb96472582adaaac3bbad9b58fc /plat/hisilicon/hikey960
parent5e2f1ce276e10fbdf54ca9f8db38fe3f3fecd25a (diff)
parent2374ab1799bedae1acc17fde0205d272f8111836 (diff)
Merge changes from topic "av/tls-heap" into integration
* changes: Mbed TLS: Remove weak heap implementation sgm: Fix bl2 sources
Diffstat (limited to 'plat/hisilicon/hikey960')
-rw-r--r--plat/hisilicon/hikey960/hikey960_tbbr.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/plat/hisilicon/hikey960/hikey960_tbbr.c b/plat/hisilicon/hikey960/hikey960_tbbr.c
index e435ec2e..ed4da3b7 100644
--- a/plat/hisilicon/hikey960/hikey960_tbbr.c
+++ b/plat/hisilicon/hikey960/hikey960_tbbr.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
*/
@@ -29,3 +29,8 @@ int plat_set_nv_ctr(void *cookie, unsigned int nv_ctr)
{
return 1;
}
+
+int plat_get_mbedtls_heap(void **heap_addr, size_t *heap_size)
+{
+ return get_mbedtls_heap_helper(heap_addr, heap_size);
+}