mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 13:11:31 +00:00
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>
This commit is contained in:
parent
a006a5deaa
commit
a241d6ef43
1 changed files with 8 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue