projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ed6826
)
rockchip: Allow jerry to use of-platdata
author
Simon Glass
<sjg@chromium.org>
Sun, 13 Nov 2016 21:21:57 +0000
(14:21 -0700)
committer
Simon Glass
<sjg@chromium.org>
Sat, 26 Nov 2016 00:59:30 +0000
(17:59 -0700)
This board always boots from SPI, so update the code to support that with
of-platdata. The boot source is not currently available with of-platdata.
Signed-off-by: Simon Glass <sjg@chromium.org>
arch/arm/mach-rockchip/rk3288-board-spl.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rockchip/rk3288-board-spl.c
b/arch/arm/mach-rockchip/rk3288-board-spl.c
index
0f40351
..
185b5fd
100644
(file)
--- a/
arch/arm/mach-rockchip/rk3288-board-spl.c
+++ b/
arch/arm/mach-rockchip/rk3288-board-spl.c
@@
-64,6
+64,8
@@
u32 spl_boot_device(void)
}
fallback:
+#elif defined(CONFIG_TARGET_CHROMEBOOK_JERRY)
+ return BOOT_DEVICE_SPI;
#endif
return BOOT_DEVICE_MMC1;
}