]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/powerpc/cpu/mpc83xx/start.S
mpc83xx: fix NAND bootstrap too big error
[karo-tx-uboot.git] / arch / powerpc / cpu / mpc83xx / start.S
index a7c80792ded4dc54f6e87a73421be44b11b88140..1b3d618f499095e1d686103de6ac9b00653ba5ba 100644 (file)
@@ -739,6 +739,7 @@ setup_bats:
  * Note: requires that all cache bits in
  * HID0 are in the low half word.
  */
+#ifndef CONFIG_NAND_SPL
        .globl  icache_enable
 icache_enable:
        mfspr   r3, HID0
@@ -767,6 +768,7 @@ icache_status:
        mfspr   r3, HID0
        rlwinm  r3, r3, (31 - HID0_ICE_SHIFT + 1), 31, 31
        blr
+#endif /* !CONFIG_NAND_SPL */
 
        .globl  dcache_enable
 dcache_enable: