diff options
author | Lukasz Majewski <l.majewski@samsung.com> | 2012-08-06 14:41:10 +0200 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2012-09-01 16:21:51 +0200 |
commit | a241d6ef43168ff80dfc28eed55f5f94266bda46 (patch) | |
tree | 507f86d65126bd350c932dd30625d5a1c5d1a405 /board/samsung/trats/trats.c | |
parent | a006a5deaa3d65850a3250b2136f91d2f38c96c1 (diff) |
arm:trats: Support for USB UDC driver at TRATS board.
Support for USB UDC driver at trats board.
Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Marek Vasut <marex@denx.de>
Cc: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'board/samsung/trats/trats.c')
-rw-r--r-- | board/samsung/trats/trats.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/board/samsung/trats/trats.c b/board/samsung/trats/trats.c index a8b2b11c4cb..4f9cb5a7e5b 100644 --- a/board/samsung/trats/trats.c +++ b/board/samsung/trats/trats.c @@ -59,6 +59,8 @@ static int hwrevision(int rev) return (board_rev & 0xf) == rev; } +struct s3c_plat_otg_data s5pc210_otg_data; + int board_init(void) { gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100; @@ -259,6 +261,12 @@ struct s3c_plat_otg_data s5pc210_otg_data = { .usb_phy_ctrl = EXYNOS4_USBPHY_CONTROL, .usb_flags = PHY0_SLEEP, }; + +void board_usb_init(void) +{ + debug("USB_udc_probe\n"); + s3c_udc_probe(&s5pc210_otg_data); +} #endif static void pmic_reset(void) |