summaryrefslogtreecommitdiff
path: root/board/sunxi/board.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2015-01-13 19:25:06 +0100
committerHans de Goede <hdegoede@redhat.com>2015-05-29 13:46:36 +0200
commit1871a8ca62a9f1a3c339b04850a486cf723a4134 (patch)
tree9df751b568e76d8e6800aaa6b5ab1b83f4814e6d /board/sunxi/board.c
parent77fe98870bfef558ae12193ffb9d7cfe1736292b (diff)
sun9i: Basic sun9i (A80) support
Add initial sun9i (A80) support, only uart + mmc are supported for now. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'board/sunxi/board.c')
-rw-r--r--board/sunxi/board.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/sunxi/board.c b/board/sunxi/board.c
index 5f79cc1bb8..ed60e74808 100644
--- a/board/sunxi/board.c
+++ b/board/sunxi/board.c
@@ -530,10 +530,11 @@ int misc_init_r(void)
}
}
+#ifndef CONFIG_MACH_SUN9I
ret = sunxi_usb_phy_probe();
if (ret)
return ret;
-
+#endif
#if defined(CONFIG_MUSB_HOST) || defined(CONFIG_MUSB_GADGET)
musb_register(&musb_plat, NULL, (void *)SUNXI_USB0_BASE);
#endif