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