projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Convert CONFIG_SPL_SPI_SUPPORT to Kconfig
[oweals/u-boot.git]
/
arch
/
arm
/
mach-at91
/
spl.c
diff --git
a/arch/arm/mach-at91/spl.c
b/arch/arm/mach-at91/spl.c
index f255b59195e6da69e704192d65308143fd637b2b..98f280cbf7732c460d291a1da0e64be08ecd57f0 100644
(file)
--- a/
arch/arm/mach-at91/spl.c
+++ b/
arch/arm/mach-at91/spl.c
@@
-75,9
+75,9
@@
u32 spl_boot_device(void)
}
#endif
}
#endif
-u32 spl_boot_mode(
void
)
+u32 spl_boot_mode(
const u32 boot_device
)
{
{
- switch (
spl_boot_device()
) {
+ switch (
boot_device
) {
#ifdef CONFIG_SYS_USE_MMC
case BOOT_DEVICE_MMC1:
case BOOT_DEVICE_MMC2:
#ifdef CONFIG_SYS_USE_MMC
case BOOT_DEVICE_MMC1:
case BOOT_DEVICE_MMC2: