]>
git.ipfire.org Git - people/ms/u-boot.git/blob - arch/sh/cpu/sh4/cpu.c
3 * Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5 * SPDX-License-Identifier: GPL-2.0+
11 #include <asm/processor.h>
12 #include <asm/cache.h>
29 int cleanup_before_linux (void)
35 int do_reset (cmd_tbl_t
*cmdtp
, int flag
, int argc
, char * const argv
[])
42 void flush_cache (unsigned long addr
, unsigned long size
)
44 dcache_invalid_range( addr
, addr
+ size
);
47 void icache_enable (void)
52 void icache_disable (void)
57 int icache_status (void)
62 void dcache_enable (void)
66 void dcache_disable (void)
70 int dcache_status (void)
75 int cpu_eth_init(bd_t
*bis
)
77 #ifdef CONFIG_SH_ETHER
78 sh_eth_initialize(bis
);