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 years ago
parent
commit
c8816d1442
1 changed files with 2 additions and 0 deletions
  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;
 }