X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=arch%2Fnios2%2Fcpu%2Fstart.S;h=0f4ab286b925d19f87cca0247fd7aaae4d059215;hb=f9342e2c3e81d62e42393c0c1a8179c309ef3a20;hp=76d3b521547f1d8c793514ea38ea52018dbf9697;hpb=399b09331f313d57b16b583f453387231d217f15;p=u-boot diff --git a/arch/nios2/cpu/start.S b/arch/nios2/cpu/start.S index 76d3b52154..0f4ab286b9 100644 --- a/arch/nios2/cpu/start.S +++ b/arch/nios2/cpu/start.S @@ -21,9 +21,8 @@ * MA 02111-1307 USA */ - +#include #include -#include #include /************************************************************************* @@ -100,12 +99,12 @@ _cur: movhi r5, %hi(_cur - _start) 3: /* ZERO BSS/SBSS -- bss and sbss are assumed to be adjacent - * and between __bss_start and _end. + * and between __bss_start and __bss_end__. */ movhi r5, %hi(__bss_start) ori r5, r5, %lo(__bss_start) - movhi r6, %hi(_end) - ori r6, r6, %lo(_end) + movhi r6, %hi(__bss_end__) + ori r6, r6, %lo(__bss_end__) beq r5, r6, 5f 4: stwio r0, 0(r5) @@ -196,14 +195,8 @@ dly_clks: bge r4, r0, dly_clks ret - -#if !defined(CONFIG_IDENT_STRING) -#define CONFIG_IDENT_STRING "" -#endif .data .globl version_string version_string: - .ascii U_BOOT_VERSION - .ascii " (", U_BOOT_DATE, " - ", U_BOOT_TIME, ")" - .ascii CONFIG_IDENT_STRING, "\0" + .ascii U_BOOT_VERSION_STRING, "\0"