From a6b3954b2ffd695972ec099089cb2dde92ebaaa3 Mon Sep 17 00:00:00 2001 From: Soby Mathew Date: Tue, 14 Feb 2017 10:21:55 +0000 Subject: AArch32: Enable override of plat_set_my_stack/plat_get_my_stack This patch makes the default MP definitions of plat_get_my_stack() and plat_set_my_stack() as weak so that they can be overridden by the AArch32 Secure Payload if it requires. Change-Id: I3b6ddff5750443a776505e3023ff2934227592b6 Signed-off-by: Soby Mathew --- plat/common/aarch32/platform_mp_stack.S | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plat/common') diff --git a/plat/common/aarch32/platform_mp_stack.S b/plat/common/aarch32/platform_mp_stack.S index a0154369..0266e83c 100644 --- a/plat/common/aarch32/platform_mp_stack.S +++ b/plat/common/aarch32/platform_mp_stack.S @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016, ARM Limited and Contributors. All rights reserved. + * Copyright (c) 2016-2017, ARM Limited and Contributors. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -32,8 +32,8 @@ #include #include - .globl plat_get_my_stack - .globl plat_set_my_stack + .weak plat_get_my_stack + .weak plat_set_my_stack /* ----------------------------------------------------- * uintptr_t plat_get_my_stack (u_register_t mpidr) -- cgit v1.2.3