
There is no need to overload version_string at the end of start.S files. Common implementation of version_string should be fine.
Signed-off-by: Pali Rohár pali@kernel.org --- arch/m68k/cpu/mcf5227x/start.S | 6 ------ arch/m68k/cpu/mcf523x/start.S | 6 ------ arch/m68k/cpu/mcf52x2/start.S | 6 ------ arch/m68k/cpu/mcf530x/start.S | 8 -------- arch/m68k/cpu/mcf532x/start.S | 6 ------ arch/m68k/cpu/mcf5445x/start.S | 6 ------ 6 files changed, 38 deletions(-)
diff --git a/arch/m68k/cpu/mcf5227x/start.S b/arch/m68k/cpu/mcf5227x/start.S index 86c93ba3faff..c49f59e9aabf 100644 --- a/arch/m68k/cpu/mcf5227x/start.S +++ b/arch/m68k/cpu/mcf5227x/start.S @@ -6,7 +6,6 @@
#include <asm-offsets.h> #include <config.h> -#include "version.h" #include <asm/cache.h>
#define _START _start @@ -488,8 +487,3 @@ _int_handler: RESTORE_ALL
/******************************************************************************/ - -.globl version_string -version_string: -.ascii U_BOOT_VERSION_STRING, "\0" -.align 4 diff --git a/arch/m68k/cpu/mcf523x/start.S b/arch/m68k/cpu/mcf523x/start.S index 8c5a16495523..060e0eecbb56 100644 --- a/arch/m68k/cpu/mcf523x/start.S +++ b/arch/m68k/cpu/mcf523x/start.S @@ -6,7 +6,6 @@
#include <asm-offsets.h> #include <config.h> -#include "version.h" #include <asm/cache.h>
#define _START _start @@ -252,8 +251,3 @@ _int_handler: RESTORE_ALL
/******************************************************************************/ - -.globl version_string -version_string: -.ascii U_BOOT_VERSION_STRING, "\0" -.align 4 diff --git a/arch/m68k/cpu/mcf52x2/start.S b/arch/m68k/cpu/mcf52x2/start.S index 747a518f6cd5..bf1cdc76f152 100644 --- a/arch/m68k/cpu/mcf52x2/start.S +++ b/arch/m68k/cpu/mcf52x2/start.S @@ -6,7 +6,6 @@
#include <asm-offsets.h> #include <config.h> -#include "version.h" #include <asm/cache.h>
#define _START _start @@ -334,8 +333,3 @@ _int_handler: RESTORE_ALL
/******************************************************************************/ - -.globl version_string -version_string: -.ascii U_BOOT_VERSION_STRING, "\0" -.align 4 diff --git a/arch/m68k/cpu/mcf530x/start.S b/arch/m68k/cpu/mcf530x/start.S index 32356d875ec1..ae4df00b9eb0 100644 --- a/arch/m68k/cpu/mcf530x/start.S +++ b/arch/m68k/cpu/mcf530x/start.S @@ -6,7 +6,6 @@
#include <asm-offsets.h> #include <config.h> -#include "version.h" #include <asm/cache.h>
#define _START _start @@ -257,10 +256,3 @@ _int_handler: RESTORE_ALL
/******************************************************************************/ - -.globl version_string -version_string: -.ascii U_BOOT_VERSION -.ascii " (", U_BOOT_DATE, " - ", U_BOOT_TIME, ")" -.ascii CONFIG_IDENT_STRING, "\0" -.align 4 diff --git a/arch/m68k/cpu/mcf532x/start.S b/arch/m68k/cpu/mcf532x/start.S index e2d7c72ceec6..8114e20803ba 100644 --- a/arch/m68k/cpu/mcf532x/start.S +++ b/arch/m68k/cpu/mcf532x/start.S @@ -9,7 +9,6 @@
#include <asm-offsets.h> #include <config.h> -#include "version.h" #include <asm/cache.h>
#define _START _start @@ -267,8 +266,3 @@ _int_handler: RESTORE_ALL
/******************************************************************************/ - -.globl version_string -version_string: -.ascii U_BOOT_VERSION_STRING, "\0" -.align 4 diff --git a/arch/m68k/cpu/mcf5445x/start.S b/arch/m68k/cpu/mcf5445x/start.S index 40c497436570..54e98a471be7 100644 --- a/arch/m68k/cpu/mcf5445x/start.S +++ b/arch/m68k/cpu/mcf5445x/start.S @@ -10,7 +10,6 @@ #include <common.h> #include <asm-offsets.h> #include <config.h> -#include "version.h" #include <asm/cache.h>
#define _START _start @@ -608,8 +607,3 @@ _int_handler: RESTORE_ALL
/******************************************************************************/ - -.globl version_string -version_string: -.ascii U_BOOT_VERSION_STRING, "\0" -.align 4