forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-09-20 a36159eec6ca17402b0e146b86efaf76568dc353
kernel/arch/mips/fw/arc/misc.c
....@@ -21,47 +21,6 @@
2121 #include <asm/bootinfo.h>
2222
2323 VOID __noreturn
24
-ArcHalt(VOID)
25
-{
26
- bc_disable();
27
- local_irq_disable();
28
- ARC_CALL0(halt);
29
-
30
- unreachable();
31
-}
32
-
33
-VOID __noreturn
34
-ArcPowerDown(VOID)
35
-{
36
- bc_disable();
37
- local_irq_disable();
38
- ARC_CALL0(pdown);
39
-
40
- unreachable();
41
-}
42
-
43
-/* XXX is this a soft reset basically? XXX */
44
-VOID __noreturn
45
-ArcRestart(VOID)
46
-{
47
- bc_disable();
48
- local_irq_disable();
49
- ARC_CALL0(restart);
50
-
51
- unreachable();
52
-}
53
-
54
-VOID __noreturn
55
-ArcReboot(VOID)
56
-{
57
- bc_disable();
58
- local_irq_disable();
59
- ARC_CALL0(reboot);
60
-
61
- unreachable();
62
-}
63
-
64
-VOID __noreturn
6524 ArcEnterInteractiveMode(VOID)
6625 {
6726 bc_disable();
....@@ -69,24 +28,6 @@
6928 ARC_CALL0(imode);
7029
7130 unreachable();
72
-}
73
-
74
-LONG
75
-ArcSaveConfiguration(VOID)
76
-{
77
- return ARC_CALL0(cfg_save);
78
-}
79
-
80
-struct linux_sysid *
81
-ArcGetSystemId(VOID)
82
-{
83
- return (struct linux_sysid *) ARC_CALL0(get_sysid);
84
-}
85
-
86
-VOID __init
87
-ArcFlushAllCaches(VOID)
88
-{
89
- ARC_CALL0(cache_flush);
9031 }
9132
9233 DISPLAY_STATUS * __init ArcGetDisplayStatus(ULONG FileID)