diff options
author | Soby Mathew <soby.mathew@arm.com> | 2017-02-14 10:21:55 +0000 |
---|---|---|
committer | Soby Mathew <soby.mathew@arm.com> | 2017-03-02 15:43:17 +0000 |
commit | a6b3954b2ffd695972ec099089cb2dde92ebaaa3 (patch) | |
tree | ff24ef4ca77c5382acbff5fcc5169ebc3c0455a6 /plat/common | |
parent | e40e075f4ddf63aa84d2aaacb807ed40438f1d24 (diff) |
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 <soby.mathew@arm.com>
Diffstat (limited to 'plat/common')
-rw-r--r-- | plat/common/aarch32/platform_mp_stack.S | 6 |
1 files changed, 3 insertions, 3 deletions
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 <asm_macros.S> #include <platform_def.h> - .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) |