]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: Allow Bob to use SPI boot
authorSimon Glass <sjg@chromium.org>
Sun, 19 Jul 2020 19:55:53 +0000 (13:55 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 29 Jul 2020 01:30:39 +0000 (19:30 -0600)
Bob is a Chromebook and can boot from SPI flash. Add it to the condition
check for this.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/arm/mach-rockchip/spl.c

index cddf4fd3d572d75d327daba2241849155207a3c1..f148d48b6a35a1f617f1ce0b693e6b5e1e120714 100644 (file)
@@ -54,7 +54,8 @@ u32 spl_boot_device(void)
 #if defined(CONFIG_TARGET_CHROMEBOOK_JERRY) || \
                defined(CONFIG_TARGET_CHROMEBIT_MICKEY) || \
                defined(CONFIG_TARGET_CHROMEBOOK_MINNIE) || \
-               defined(CONFIG_TARGET_CHROMEBOOK_SPEEDY)
+               defined(CONFIG_TARGET_CHROMEBOOK_SPEEDY) || \
+               defined(CONFIG_TARGET_CHROMEBOOK_BOB)
        return BOOT_DEVICE_SPI;
 #endif
        if (CONFIG_IS_ENABLED(ROCKCHIP_BACK_TO_BROM))