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