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:
e3fdf5d
)
arm64: zynqmp: spl: use given boot_device instead of fetching it again
author
Jean-Francois Dagenais
<
[email protected]
>
Mon, 3 Apr 2017 01:44:35 +0000
(21:44 -0400)
committer
Michal Simek
<
[email protected]
>
Mon, 19 Jun 2017 14:53:10 +0000
(16:53 +0200)
The boot_device argument to spl_boot_mode was massively added without
actually modifying the existing functions.
This commit actually makes use of the handed value, which is the same.
Signed-off-by: Jean-Francois Dagenais <
[email protected]
>
Signed-off-by: Michal Simek <
[email protected]
>
arch/arm/cpu/armv8/zynqmp/spl.c
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/armv8/zynqmp/spl.c
b/arch/arm/cpu/armv8/zynqmp/spl.c
index 6afa0740d045f693fa3f463c7f22602fae040149..db7432fd4bd76f46fadf992d50f4ec41f503ab11 100644
(file)
--- a/
arch/arm/cpu/armv8/zynqmp/spl.c
+++ b/
arch/arm/cpu/armv8/zynqmp/spl.c
@@
-112,7
+112,7
@@
u32 spl_boot_device(void)
u32 spl_boot_mode(const u32 boot_device)
{
- switch (
spl_boot_device()
) {
+ switch (
boot_device
) {
case BOOT_DEVICE_RAM:
return 0;
case BOOT_DEVICE_MMC1: