summaryrefslogtreecommitdiff
path: root/arch/arm/mach-rockchip/rk3288-board-spl.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-11-13 14:21:57 -0700
committerSimon Glass <sjg@chromium.org>2016-11-25 17:59:30 -0700
commitc8816d1442a4fe0ba107320eba063f59dac940fb (patch)
tree64d42a7cdc999896528c07f8668bee3be32c9cd3 /arch/arm/mach-rockchip/rk3288-board-spl.c
parent9ed682606076ccc2163d271af1795f00c0217446 (diff)
downloadu-boot-imx-c8816d1442a4fe0ba107320eba063f59dac940fb.zip
u-boot-imx-c8816d1442a4fe0ba107320eba063f59dac940fb.tar.gz
u-boot-imx-c8816d1442a4fe0ba107320eba063f59dac940fb.tar.bz2
rockchip: Allow jerry to use of-platdata
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>
Diffstat (limited to 'arch/arm/mach-rockchip/rk3288-board-spl.c')
-rw-r--r--arch/arm/mach-rockchip/rk3288-board-spl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-rockchip/rk3288-board-spl.c b/arch/arm/mach-rockchip/rk3288-board-spl.c
index 0f40351..185b5fd 100644
--- 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;
}