2 * board/renesas/rcar-gen2-common/common.c
4 * Copyright (C) 2013 Renesas Electronics Corporation
5 * Copyright (C) 2013 Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
7 * SPDX-License-Identifier: GPL-2.0
12 #include <asm/arch/sys_proto.h>
13 #include <asm/arch/rmobile.h>
14 #include <asm/arch/rcar-mstp.h>
17 #define TSTR0_STR0 0x01
19 #define TMU0_MSTP125 (1 << 25)
20 void arch_preboot_os(void)
23 mstp_clrbits_le32(TMU_BASE + TSTR0, TMU_BASE + TSTR0, TSTR0_STR0);
26 mstp_setbits_le32(MSTPSR1, SMSTPCR1, TMU0_MSTP125);