From: Minkyu Kang Date: Fri, 9 Apr 2010 04:08:10 +0000 (+0900) Subject: recovery: fix ifdef condition X-Git-Tag: JD06_20100409~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5fc2a19b512fc7d05d59c346f87032b59fa11be1;p=kernel%2Fu-boot.git recovery: fix ifdef condition Signed-off-by: Minkyu Kang --- diff --git a/cpu/arm_cortexa8/start.S b/cpu/arm_cortexa8/start.S index 45e7677..3926bbd 100644 --- a/cpu/arm_cortexa8/start.S +++ b/cpu/arm_cortexa8/start.S @@ -139,10 +139,12 @@ next: #endif /* CONFIG_ONENAND_IPL || CONFIG_RECOVERY_BLOCK */ /* the mask ROM code should have PLL and others stable */ #ifndef CONFIG_SKIP_LOWLEVEL_INIT +#if !defined(CONFIG_RECOVERY_BLOCK) bl cpu_init_crit #endif +#endif -#if !defined(CONFIG_SKIP_RELOCATE_UBOOT) || !defined(CONFIG_ONENAND_IPL) +#if !defined(CONFIG_SKIP_RELOCATE_UBOOT) || !defined(CONFIG_ONENAND_IPL) || !defined(CONFIG_RECOVERY_BLOCK) relocate: @ relocate U-Boot to RAM adr r0, _start @ r0 <- current position of code ldr r1, _TEXT_BASE @ test if we run from flash or RAM @@ -209,6 +211,7 @@ _start_armboot: .word start_armboot * *************************************************************************/ cpu_init_crit: +#if !defined(CONFIG_RECOVERY_BLOCK) /* * Invalidate L1 I/D */ @@ -226,7 +229,6 @@ cpu_init_crit: orr r0, r0, #0x00000800 @ set bit 12 (Z---) BTB mcr p15, 0, r0, c1, c0, 0 -#if !defined(CONFIG_RECOVERY_BLOCK) /* * Jump to board specific initialization... * The Mask ROM will have already initialized