Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uboot-i9100
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
onny
uboot-i9100
Commits
66f30bf9
Commit
66f30bf9
authored
11 years ago
by
Benoît Thébaudeau
Committed by
Albert ARIBAUD
11 years ago
Browse files
Options
Downloads
Patches
Plain Diff
arm: Remove deprecated and now unused NAND SPL
Signed-off-by:
Benoît Thébaudeau
<
benoit.thebaudeau@advansee.com
>
parent
e5323225
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
arch/arm/config.mk
+0
-2
0 additions, 2 deletions
arch/arm/config.mk
arch/arm/cpu/arm1176/start.S
+4
-8
4 additions, 8 deletions
arch/arm/cpu/arm1176/start.S
arch/arm/lib/crt0.S
+2
-14
2 additions, 14 deletions
arch/arm/lib/crt0.S
with
6 additions
and
24 deletions
arch/arm/config.mk
+
0
−
2
View file @
66f30bf9
...
...
@@ -87,9 +87,7 @@ endif
endif
# needed for relocation
ifndef
CONFIG_NAND_SPL
LDFLAGS_u-boot
+=
-pie
endif
#
# FIXME: binutils versions < 2.22 have a bug in the assembler where
...
...
This diff is collapsed.
Click to expand it.
arch/arm/cpu/arm1176/start.S
+
4
−
8
View file @
66f30bf9
...
...
@@ -51,7 +51,7 @@
.
globl
_start
_start
:
b
reset
#ifndef CONFIG_
NAND_SPL
#ifndef CONFIG_
SPL_BUILD
ldr
pc
,
_undefined_instruction
ldr
pc
,
_software_interrupt
ldr
pc
,
_prefetch_abort
...
...
@@ -98,15 +98,11 @@ _end_vect:
.
globl
_TEXT_BASE
_TEXT_BASE
:
#ifdef CONFIG_NAND_SPL /* deprecated, use instead CONFIG_SPL_BUILD */
.
word
CONFIG_SYS_TEXT_BASE
#else
#if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_TEXT_BASE)
.
word
CONFIG_SPL_TEXT_BASE
#else
.
word
CONFIG_SYS_TEXT_BASE
#endif
#endif
/*
*
Below
variable
is
very
important
because
we
use
MMU
in
U
-
Boot
.
...
...
@@ -176,7 +172,7 @@ cpu_init_crit:
*
When
booting
from
NAND
-
it
has
definitely
been
a
reset
,
so
,
no
need
*
to
flush
caches
and
disable
the
MMU
*/
#ifndef CONFIG_
NAND_SPL
#ifndef CONFIG_
SPL_BUILD
/
*
*
flush
v4
I
/
D
caches
*/
...
...
@@ -361,7 +357,7 @@ c_runtime_cpu_setup:
mov
pc
,
lr
#ifndef CONFIG_
NAND_SPL
#ifndef CONFIG_
SPL_BUILD
/*
*
we
assume
that
cache
operation
is
done
before
.
(
eg
.
cleanup_before_linux
())
*
actually
,
we
don
't need to do anything about cache if not use d-cache in
...
...
@@ -539,4 +535,4 @@ fiq:
get_bad_stack
bad_save_user_regs
bl
do_fiq
#endif /* CONFIG_
NAND_SPL
*/
#endif /* CONFIG_
SPL_BUILD
*/
This diff is collapsed.
Click to expand it.
arch/arm/lib/crt0.S
+
2
−
14
View file @
66f30bf9
...
...
@@ -64,7 +64,7 @@
*
have
some
work
left
to
do
at
this
point
regarding
memory
,
so
*
call
c_runtime_cpu_setup
.
*
*
6
.
Branch
to
either
nand_boot
()
or
board_init_r
()
.
*
6
.
Branch
to
board_init_r
()
.
*/
/*
...
...
@@ -77,10 +77,7 @@ ENTRY(_main)
*
Set
up
initial
C
runtime
environment
and
call
board_init_f
(
0
)
.
*/
#if defined(CONFIG_NAND_SPL)
/
*
deprecated
,
use
instead
CONFIG_SPL_BUILD
*/
ldr
sp
,
=(
CONFIG_SYS_INIT_SP_ADDR
)
#elif defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_STACK)
#if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_STACK)
ldr
sp
,
=(
CONFIG_SPL_STACK
)
#else
ldr
sp
,
=(
CONFIG_SYS_INIT_SP_ADDR
)
...
...
@@ -129,21 +126,12 @@ clbss_l:cmp r0, r1 /* while not at end of BSS */
bl
coloured_LED_init
bl
red_led_on
#if defined(CONFIG_NAND_SPL)
/
*
call
_nand_boot
()
*/
ldr
pc
,
=
nand_boot
#else
/
*
call
board_init_r
(
gd_t
*
id
,
ulong
dest_addr
)
*/
mov
r0
,
r8
/*
gd_t
*/
ldr
r1
,
[
r8
,
#
GD_RELOCADDR
]
/*
dest_addr
*/
/
*
call
board_init_r
*/
ldr
pc
,
=
board_init_r
/*
this
is
auto
-
relocated
!
*/
#endif
/
*
we
should
not
return
here
.
*/
#endif
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment