3 * Common layer for reset related functionality of OMAP based socs.
6 * Texas Instruments, <www.ti.com>
8 * Sricharan R <r.sricharan@ti.com>
10 * SPDX-License-Identifier: GPL-2.0+
15 #include <asm/arch/cpu.h>
16 #include <linux/compiler.h>
18 void __weak reset_cpu(unsigned long ignored)
20 /* clear the reset status flags */
21 writel(readl(PRM_RSTST), PRM_RSTST);
22 writel(PRM_RSTCTRL_RESET, PRM_RSTCTRL);
25 u32 __weak warm_reset(void)
27 return (readl(PRM_RSTST) & PRM_RSTST_WARM_RESET_MASK);
30 void __weak setup_warmreset_time(void)