| * Copyright (C) 2007,2008 Nobuhiro Iwamatsu <iwamatsu@nigauri.org> |
| * Copyright (C) 2008 Renesas Solutions Corp. |
| * SPDX-License-Identifier: GPL-2.0+ |
| #include <asm/processor.h> |
| #define STBCR4 0xFFFE040C |
| #define cmt_clock_enable() do {\ |
| writeb(readb(STBCR4) & ~0x04, STBCR4);\ |
| #define scif0_enable() do {\ |
| writeb(readb(STBCR4) & ~0x80, STBCR4);\ |
| #define scif3_enable() do {\ |
| writeb(readb(STBCR4) & ~0x10, STBCR4);\ |
| #if defined(CONFIG_CONS_SCIF3) |
| int cleanup_before_linux(void) |
| int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) |
| void flush_cache(unsigned long addr, unsigned long size) |
| void icache_disable(void) |
| void dcache_disable(void) |