summaryrefslogtreecommitdiff
path: root/libcpu/arm/zynq7000/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcpu/arm/zynq7000/cpu.c')
-rw-r--r--libcpu/arm/zynq7000/cpu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcpu/arm/zynq7000/cpu.c b/libcpu/arm/zynq7000/cpu.c
index 5f3a3e7b02..f6b7f5d852 100644
--- a/libcpu/arm/zynq7000/cpu.c
+++ b/libcpu/arm/zynq7000/cpu.c
@@ -16,7 +16,7 @@
* reset cpu by dog's time-out
*
*/
-void rt_hw_cpu_reset()
+RT_WEAK void rt_hw_cpu_reset()
{
while (1); /* loop forever and wait for reset to happen */
@@ -27,7 +27,7 @@ void rt_hw_cpu_reset()
* shutdown CPU
*
*/
-void rt_hw_cpu_shutdown()
+RT_WEAK void rt_hw_cpu_shutdown()
{
rt_uint32_t level;
rt_kprintf("shutdown...\n");