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