diff options
author | Simon Glass | 2016-11-13 14:21:57 -0700 |
---|---|---|
committer | Simon Glass | 2016-11-25 17:59:30 -0700 |
commit | c8816d1442a4fe0ba107320eba063f59dac940fb (patch) | |
tree | 64d42a7cdc999896528c07f8668bee3be32c9cd3 /arch/arm | |
parent | 9ed682606076ccc2163d271af1795f00c0217446 (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/arm')
-rw-r--r-- | arch/arm/mach-rockchip/rk3288-board-spl.c | 2 |
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 0f40351769e..185b5fdcf72 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; } |