1 // SPDX-License-Identifier: GPL-2.0+
4 * Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
6 * (C) Copyright 2007-2012
7 * Nobobuhiro Iwamatsu <iwamatsu@nigauri.org>
10 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
14 #include <asm/processor.h>
17 #if defined(CONFIG_CPU_SH4) || defined(CONFIG_ARCH_RMOBILE)
20 #endif /* CONFIG_CPU_SH4 */
23 #define TSTR_STR0 BIT(0)
27 writew(readw(TMU_BASE + TCR0) & ~TCR_TPSC, TMU_BASE + TCR0);
28 writeb(readb(TMU_BASE + TSTR) & ~TSTR_STR0, TMU_BASE + TSTR);
29 writeb(readb(TMU_BASE + TSTR) | TSTR_STR0, TMU_BASE + TSTR);