]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/lib/crt0.S
dm: arm: spl: Allow simple malloc() in SPL
[karo-tx-uboot.git] / arch / arm / lib / crt0.S
index 29cdad0f70716a85e260a124b73f63746b484b80..823b233bc861ef4749417d6b344a2658d6d2ebe2 100644 (file)
@@ -78,7 +78,7 @@ clr_gd:
        strlo   r0, [r1]                /* clear 32-bit GD word */
        addlo   r1, r1, #4              /* move to next */
        blo     clr_gd
-#if defined(CONFIG_SYS_MALLOC_F_LEN) && !defined(CONFIG_SPL_BUILD)
+#if defined(CONFIG_SYS_MALLOC_F_LEN)
        sub     sp, sp, #CONFIG_SYS_MALLOC_F_LEN
        str     sp, [r9, #GD_MALLOC_BASE]
 #endif