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>
This commit is contained in:
Simon Glass 2016-11-13 14:21:57 -07:00
parent 9ed6826060
commit c8816d1442
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}