summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-rockchip/rk3288-board-spl.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-01-21 19:45:24 -0700
committerSimon Glass <sjg@chromium.org>2016-01-21 20:42:37 -0700
commit7c1058fadc8d7c25c6c1313d939897a091500fbe (patch)
treea2b131247ad893139453150191ed6905bf78f3db /arch/arm/mach-rockchip/rk3288-board-spl.c
parentcf629bb2ba769f2257f43336adef2cdf4acff9bf (diff)
downloadtalos-obmc-uboot-7c1058fadc8d7c25c6c1313d939897a091500fbe.tar.gz
talos-obmc-uboot-7c1058fadc8d7c25c6c1313d939897a091500fbe.zip
rockchip: Add support for Raxda Rock 2
This board includes an RK3288 SoC on a SOM. It can be mounted on a base-board which provides a wide range of peripherals. So far this is verified to boot to a prompt from a microSD card. The serial console works as well as HDMI. Thanks to Tom Cubie for sending me a board. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/mach-rockchip/rk3288-board-spl.c')
-rw-r--r--arch/arm/mach-rockchip/rk3288-board-spl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-rockchip/rk3288-board-spl.c b/arch/arm/mach-rockchip/rk3288-board-spl.c
index 9fdd37d8b1..6a54368fe3 100644
--- a/arch/arm/mach-rockchip/rk3288-board-spl.c
+++ b/arch/arm/mach-rockchip/rk3288-board-spl.c
@@ -114,6 +114,7 @@ static void configure_l2ctlr(void)
#ifdef CONFIG_SPL_MMC_SUPPORT
static int configure_emmc(struct udevice *pinctrl)
{
+#ifndef CONFIG_TARGET_ROCK2
struct gpio_desc desc;
int ret;
@@ -143,6 +144,7 @@ static int configure_emmc(struct udevice *pinctrl)
debug("gpio value ret=%d\n", ret);
return ret;
}
+#endif
return 0;
}
OpenPOWER on IntegriCloud