1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3  * (C) Copyright 2007
4  * Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
5  *
6  * (C) Copyright 2007
7  * Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8  */
9 
10 #include <common.h>
11 #include <command.h>
12 #include <asm/processor.h>
13 
checkcpu(void)14 int checkcpu(void)
15 {
16 	puts("CPU: SH3\n");
17 	return 0;
18 }
19 
cpu_init(void)20 int cpu_init(void)
21 {
22 	return 0;
23 }
24 
cleanup_before_linux(void)25 int cleanup_before_linux(void)
26 {
27 	disable_interrupts();
28 	return 0;
29 }
30 
do_reset(cmd_tbl_t * cmdtp,int flag,int argc,char * const argv[])31 int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
32 {
33 	disable_interrupts();
34 	reset_cpu(0);
35 	return 0;
36 }
37 
flush_cache(unsigned long addr,unsigned long size)38 void flush_cache(unsigned long addr, unsigned long size)
39 {
40 
41 }
42 
icache_enable(void)43 void icache_enable(void)
44 {
45 }
46 
icache_disable(void)47 void icache_disable(void)
48 {
49 }
50 
icache_status(void)51 int icache_status(void)
52 {
53 	return 0;
54 }
55 
dcache_enable(void)56 void dcache_enable(void)
57 {
58 }
59 
dcache_disable(void)60 void dcache_disable(void)
61 {
62 }
63 
dcache_status(void)64 int dcache_status(void)
65 {
66 	return 0;
67 }
68