From: Simon Glass Date: Sun, 13 Nov 2016 21:21:57 +0000 (-0700) Subject: rockchip: Allow jerry to use of-platdata X-Git-Tag: v2017.01-rc1~210^2~19 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c8816d1442a4fe0ba107320eba063f59dac940fb;p=u-boot 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 --- 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; }