]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/arm/lib/spl.c
Replace __bss_end__ with __bss_end
[people/ms/u-boot.git] / arch / arm / lib / spl.c
index f568f619cb0c8f58eab91178ba68accda845ef41..301f082ea3e877c4e186909105e96362d26d60e2 100644 (file)
@@ -45,7 +45,7 @@ void __weak board_init_f(ulong dummy)
        asm volatile("mov sp, %0\n" : : "r"(CONFIG_SPL_STACK));
 
        /* Clear the BSS. */
-       memset(__bss_start, 0, __bss_end__ - __bss_start);
+       memset(__bss_start, 0, __bss_end - __bss_start);
 
        /* Set global data pointer. */
        gd = &gdata;