]>
Commit | Line | Data |
---|---|---|
6b96a20d | 1 | /* |
d417d1db S |
2 | * |
3 | * Common layer for reset related functionality of OMAP based socs. | |
4 | * | |
5 | * (C) Copyright 2012 | |
6 | * Texas Instruments, <www.ti.com> | |
7 | * | |
8 | * Sricharan R <r.sricharan@ti.com> | |
6b96a20d | 9 | * |
1a459660 | 10 | * SPDX-License-Identifier: GPL-2.0+ |
6b96a20d | 11 | */ |
6b96a20d | 12 | #include <config.h> |
d417d1db S |
13 | #include <asm/io.h> |
14 | #include <asm/arch/cpu.h> | |
15 | #include <linux/compiler.h> | |
6b96a20d | 16 | |
d417d1db S |
17 | void __weak reset_cpu(unsigned long ignored) |
18 | { | |
19 | writel(PRM_RSTCTRL_RESET, PRM_RSTCTRL); | |
20 | } | |
70239507 LV |
21 | |
22 | u32 __weak warm_reset(void) | |
23 | { | |
24 | return (readl(PRM_RSTST) & PRM_RSTST_WARM_RESET_MASK); | |
25 | } | |
0b1b60c7 LV |
26 | |
27 | void __weak setup_warmreset_time(void) | |
28 | { | |
29 | } |