From: Minkyu Kang Date: Fri, 29 Oct 2010 08:33:42 +0000 (+0900) Subject: s5pc210: universal: disable the Modem I/F clock after checked the ramoops X-Git-Tag: v0.2~303 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=99297ce93aa84d02ead023b77e06ad874bbf2767;p=kernel%2Fu-boot.git s5pc210: universal: disable the Modem I/F clock after checked the ramoops Signed-off-by: Minkyu Kang --- diff --git a/board/samsung/universal_c210/universal.c b/board/samsung/universal_c210/universal.c index edd3590..e117113 100644 --- 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