replace CONFIG_PRELOADER with CONFIG_SPL_BUILD
[oweals/u-boot.git] / arch / arm / cpu / lh7a40x / start.S
index 81242b1ed489d9120ada649b87e1e59c5e0f7176..61bce5f185e1c1f350d682819ec59cebc1e26112 100644 (file)
@@ -195,7 +195,7 @@ copy_loop:
        cmp     r0, r2                  /* until source end address [r2]    */
        blo     copy_loop
 
-#ifndef CONFIG_PRELOADER
+#ifndef CONFIG_SPL_BUILD
        /*
         * fix .rel.dyn relocations
         */
@@ -237,7 +237,7 @@ fixnext:
 #endif
 
 clear_bss:
-#ifndef CONFIG_PRELOADER
+#ifndef CONFIG_SPL_BUILD
        ldr     r0, _bss_start_ofs
        ldr     r1, _bss_end_ofs
        mov     r4, r6                  /* reloc addr */