projects
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e88eb6
)
s5pc210: universal: disable the Modem I/F clock after checked the ramoops
author
Minkyu Kang
<mk7.kang@samsung.com>
Fri, 29 Oct 2010 08:33:42 +0000
(17:33 +0900)
committer
Minkyu Kang
<mk7.kang@samsung.com>
Fri, 29 Oct 2010 08:33:42 +0000
(17:33 +0900)
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
board/samsung/universal_c210/universal.c
patch
|
blob
|
history
diff --git
a/board/samsung/universal_c210/universal.c
b/board/samsung/universal_c210/universal.c
index
edd3590
..
e117113
100644
(file)
--- a/
board/samsung/universal_c210/universal.c
+++ b/
board/samsung/universal_c210/universal.c
@@
-937,12
+937,20
@@
static void check_reset_status(void)
#ifdef CONFIG_RAMOOPS
static void show_dump_msg(void)
{
+ struct s5pc210_clock *clk =
+ (struct s5pc210_clock *)samsung_get_base_clock();
int ret;
+ unsigned int reg;
ret = ramoops_show_msg(samsung_get_base_modem());
if (!ret)
setenv("bootdelay", "-1");
+
+ /* disable the clock for Modem I/F */
+ reg = readl(&clk->gate_ip_peril);
+ reg &= ~(1 << 28);
+ writel(reg, &clk->gate_ip_peril);
}
#endif