rockchip: Don't use spl_boot_device() with of-platdata
authorSimon Glass <sjg@chromium.org>
Mon, 4 Jul 2016 17:58:32 +0000 (11:58 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 15 Jul 2016 02:40:24 +0000 (20:40 -0600)
commit6afc4661e0a2daa655096702171c420518f8c2a8
treefe5e30de0e8f64ee9bf65ea8f077a937bb62794a
parent6efeeea79c880d3dd262e0dca9da2687f0ab68c9
rockchip: Don't use spl_boot_device() with of-platdata

This function cannot look at the device tree when of-platdata is used.
Update the code to handle this.

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