summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukasz Majewski <l.majewski@samsung.com>2015-03-03 17:32:03 +0100
committerMarek Vasut <marex@denx.de>2015-04-14 05:48:11 +0200
commit28f393cd5a1e0a74363dd34ba75e92a7fb005fd8 (patch)
treed912d872c6a3edbf91840195b7a8f2815d6f3eb2
parent2d48aa69bd2e0164a22b253733564701ed3381a1 (diff)
downloadu-boot-imx-28f393cd5a1e0a74363dd34ba75e92a7fb005fd8.zip
u-boot-imx-28f393cd5a1e0a74363dd34ba75e92a7fb005fd8.tar.gz
u-boot-imx-28f393cd5a1e0a74363dd34ba75e92a7fb005fd8.tar.bz2
usb: board: samsung: Add default board_usb_cleanup() definition for Exynos SoCs
This definition is necessary for Exynos based boards to work properly. Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
-rw-r--r--board/samsung/common/board.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/board/samsung/common/board.c b/board/samsung/common/board.c
index 2e17da8..0979868 100644
--- a/board/samsung/common/board.c
+++ b/board/samsung/common/board.c
@@ -25,6 +25,7 @@
#include <asm/arch/sromc.h>
#include <lcd.h>
#include <samsung/misc.h>
+#include <usb.h>
DECLARE_GLOBAL_DATA_PTR;
@@ -386,3 +387,8 @@ void reset_misc(void)
dm_gpio_set_value(&gpio, 1);
}
}
+
+int board_usb_cleanup(int index, enum usb_init_type init)
+{
+ return 0;
+}