From: Kyungmin Park Date: Wed, 29 Jul 2009 07:40:24 +0000 (+0900) Subject: OneNAND IPL: Remove debug code X-Git-Tag: s5pc110_universal_support~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0170f5ea4486c4c0f3654ad6872952af8812a7ca;p=kernel%2Fu-boot.git OneNAND IPL: Remove debug code Signed-off-by: Kyungmin Park --- diff --git a/onenand_ipl/onenand_boot.c b/onenand_ipl/onenand_boot.c index bd1285a..63995ce 100644 --- a/onenand_ipl/onenand_boot.c +++ b/onenand_ipl/onenand_boot.c @@ -25,8 +25,6 @@ #include #include -#include -#include #include "onenand_ipl.h" @@ -35,18 +33,11 @@ typedef int (init_fnc_t)(void); void start_oneboot(void) { uchar *buf; - unsigned int value; buf = (uchar *) CONFIG_SYS_LOAD_ADDR; -#if 0 - value = readl(0xE0200000 + S5PC110_GPIO_J4_OFFSET + S5PC1XX_GPIO_DAT_OFFSET); - value |= (1 << 4); - writel(value, 0xE0200000 + S5PC110_GPIO_J4_OFFSET + S5PC1XX_GPIO_DAT_OFFSET); -#endif onenand_read_block(buf); - ((init_fnc_t *)CONFIG_SYS_LOAD_ADDR)(); /* should never come here */