summaryrefslogtreecommitdiff
path: root/arch
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
parent9ed682606076ccc2163d271af1795f00c0217446 (diff)
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')
-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 0f40351769..185b5fdcf7 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;
}