projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cc9e6b
)
arm: spear: do not return random value from stack
author
xypron.glpk@gmx.de
<xypron.glpk@gmx.de>
Sun, 30 Jul 2017 18:09:38 +0000
(20:09 +0200)
committer
Tom Rini
<trini@konsulko.com>
Sun, 13 Aug 2017 19:17:26 +0000
(15:17 -0400)
If the NOR device is not available do not return
a random value from the stack.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
arch/arm/cpu/arm926ejs/spear/spl.c
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/arm926ejs/spear/spl.c
b/arch/arm/cpu/arm926ejs/spear/spl.c
index a60f5838de418f93df7251f69156b00ee67b3b02..ba1e5591574c7d194e0fe2ca52ef5a4a0c49715b 100644
(file)
--- a/
arch/arm/cpu/arm926ejs/spear/spl.c
+++ b/
arch/arm/cpu/arm926ejs/spear/spl.c
@@
-222,7
+222,7
@@
static void snor_init(void)
u32 spl_boot_device(void)
{
- u32 mode;
+ u32 mode
= 0
;
/* Currently only SNOR is supported as the only */
if (snor_boot_selected()) {