mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
arm: spear: do not return random value from stack
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>
This commit is contained in:
committed by
Tom Rini
parent
5cc9e6b7fa
commit
9730bcdc2f
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user