summaryrefslogtreecommitdiff
path: root/libcpu/mips
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2023-08-07 12:42:10 -0400
committerMeco Man <[email protected]>2023-08-08 22:34:25 -0400
commitc6a2f5b7bdee378cc868ee9284e760ebbdf635f0 (patch)
treecde35e55f90e6a0b12a5796734a9b75fbdc65d0a /libcpu/mips
parentcb810dfe750dab6a53a8c20d83f082e0a12ab024 (diff)
rt_hw_cpu_shutdown: implement default weak function
and remvoe duplicated default functions in each cpu/bsp level
Diffstat (limited to 'libcpu/mips')
-rw-r--r--libcpu/mips/gs232/cpuport.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/libcpu/mips/gs232/cpuport.c b/libcpu/mips/gs232/cpuport.c
index aa0234e672..c473eed50c 100644
--- a/libcpu/mips/gs232/cpuport.c
+++ b/libcpu/mips/gs232/cpuport.c
@@ -34,18 +34,6 @@ void rt_hw_cpu_reset(void)
while (1);
}
-/**
- * this function will shutdown CPU
- *
- */
-rt_weak void rt_hw_cpu_shutdown(void)
-{
- rt_kprintf("shutdown...\n");
-
- while (1);
-}
-
-
#define Hit_Invalidate_I 0x10
#define Hit_Invalidate_D 0x11
#define CONFIG_SYS_CACHELINE_SIZE 32