Browse Source

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>
Simon Glass 8 năm trước cách đây
mục cha
commit
c8816d1442
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      arch/arm/mach-rockchip/rk3288-board-spl.c

+ 2 - 0
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;
 }