X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=onenand_ipl%2Fonenand_boot.c;h=aff62d29bb7d6d23fb36e895775b5c5c42e1c003;hb=6d0f6bcf337c5261c08fabe12982178c2c489d76;hp=35668ac84f765f50f165849eb1abd5e8a5511f36;hpb=71edc271816ec82cf0550dd6980be2da3cc2ad9e;p=platform%2Fkernel%2Fu-boot.git diff --git a/onenand_ipl/onenand_boot.c b/onenand_ipl/onenand_boot.c index 35668ac..aff62d2 100644 --- a/onenand_ipl/onenand_boot.c +++ b/onenand_ipl/onenand_boot.c @@ -28,7 +28,7 @@ #include "onenand_ipl.h" -#ifdef CFG_PRINTF +#ifdef CONFIG_SYS_PRINTF int print_info(void) { printf(XLOADER_VERSION); @@ -41,7 +41,7 @@ typedef int (init_fnc_t)(void); init_fnc_t *init_sequence[] = { board_init, /* basic board dependent setup */ -#ifdef CFG_PRINTF +#ifdef CONFIG_SYS_PRINTF serial_init, /* serial communications setup */ print_info, #endif @@ -58,17 +58,17 @@ void start_oneboot(void) hang(); } - buf = (uchar *) CFG_LOAD_ADDR; + buf = (uchar *) CONFIG_SYS_LOAD_ADDR; if (!onenand_read_block0(buf)) buf += ONENAND_BLOCK_SIZE; - if (buf == (uchar *)CFG_LOAD_ADDR) + if (buf == (uchar *)CONFIG_SYS_LOAD_ADDR) hang(); /* go run U-Boot and never return */ printf("Starting OS Bootloader...\n"); - ((init_fnc_t *)CFG_LOAD_ADDR)(); + ((init_fnc_t *)CONFIG_SYS_LOAD_ADDR)(); /* should never come here */ }