mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-31 03:21:32 +00:00
sparc: Remove version_string variable from start.S file
Remove the version_string variable from start.S file. A weak variable is also set in the cmd_version.c file. No need for architecture override. Signed-off-by: Francois Retief <fgretief@spaceteq.co.za>
This commit is contained in:
parent
52789143a2
commit
be7357a6cc
2 changed files with 6 additions and 21 deletions
|
@ -1,6 +1,7 @@
|
||||||
/* This is where the SPARC/LEON3 starts
|
/* This is where the SPARC/LEON3 starts
|
||||||
* Copyright (C) 2007,
|
*
|
||||||
* Daniel Hellstrom, daniel@gaisler.com
|
* Copyright (C) 2007, 2015
|
||||||
|
* Daniel Hellstrom, Cobham Gaisler, daniel@gaisler.com
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: GPL-2.0+
|
* SPDX-License-Identifier: GPL-2.0+
|
||||||
*/
|
*/
|
||||||
|
@ -12,7 +13,6 @@
|
||||||
#include <asm/psr.h>
|
#include <asm/psr.h>
|
||||||
#include <asm/stack.h>
|
#include <asm/stack.h>
|
||||||
#include <asm/leon.h>
|
#include <asm/leon.h>
|
||||||
#include <version.h>
|
|
||||||
|
|
||||||
/* Entry for traps which jump to a programmer-specified trap handler. */
|
/* Entry for traps which jump to a programmer-specified trap handler. */
|
||||||
#define TRAPR(H) \
|
#define TRAPR(H) \
|
||||||
|
@ -197,14 +197,6 @@ _trap_table:
|
||||||
SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! f4-f7
|
SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! f4-f7
|
||||||
SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! f8-fb
|
SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! f8-fb
|
||||||
SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! fc-ff
|
SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! fc-ff
|
||||||
/*
|
|
||||||
* Version string
|
|
||||||
*/
|
|
||||||
|
|
||||||
.data
|
|
||||||
.globl version_string
|
|
||||||
version_string:
|
|
||||||
.ascii U_BOOT_VERSION_STRING, "\0"
|
|
||||||
|
|
||||||
.section ".text"
|
.section ".text"
|
||||||
.align 4
|
.align 4
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
/* This is where the SPARC/LEON3 starts
|
/* This is where the SPARC/LEON3 starts
|
||||||
* Copyright (C) 2007,
|
*
|
||||||
* Daniel Hellstrom, daniel@gaisler.com
|
* Copyright (C) 2007, 2015
|
||||||
|
* Daniel Hellstrom, Cobham Gaisler, daniel@gaisler.com
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: GPL-2.0+
|
* SPDX-License-Identifier: GPL-2.0+
|
||||||
*/
|
*/
|
||||||
|
@ -12,7 +13,6 @@
|
||||||
#include <asm/psr.h>
|
#include <asm/psr.h>
|
||||||
#include <asm/stack.h>
|
#include <asm/stack.h>
|
||||||
#include <asm/leon.h>
|
#include <asm/leon.h>
|
||||||
#include <version.h>
|
|
||||||
#include <ambapp.h>
|
#include <ambapp.h>
|
||||||
|
|
||||||
/* Default Plug&Play I/O area */
|
/* Default Plug&Play I/O area */
|
||||||
|
@ -208,15 +208,8 @@ _trap_table:
|
||||||
SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! f4-f7
|
SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! f4-f7
|
||||||
SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! f8-fb
|
SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! f8-fb
|
||||||
SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! fc-ff
|
SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; SOFT_TRAP; ! fc-ff
|
||||||
/*
|
|
||||||
* Version string
|
|
||||||
*/
|
|
||||||
|
|
||||||
.data
|
|
||||||
.extern leon3_snooping_avail
|
.extern leon3_snooping_avail
|
||||||
.globl version_string
|
|
||||||
version_string:
|
|
||||||
.ascii U_BOOT_VERSION_STRING, "\0"
|
|
||||||
|
|
||||||
.section ".text"
|
.section ".text"
|
||||||
.extern _nomem_amba_init, _nomem_memory_ctrl_init
|
.extern _nomem_amba_init, _nomem_memory_ctrl_init
|
||||||
|
|
Loading…
Add table
Reference in a new issue