dm: tegra: usb: Move USB to driver model

Somehow this change was dropped in the various merges. I noticed when I
came to turn off the non-driver-model support for Tegra. We need to make
this change (and deal with any problems) before going further.

Change-Id: Ib9389a0d41008014eb0df0df98c27be65bc79ce6
Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Marek Vasut <marex@denx.de>
This commit is contained in:
Simon Glass 2015-05-06 14:00:16 -06:00
parent a2879764ba
commit 534f9d3fef
2 changed files with 5 additions and 0 deletions

View file

@ -24,6 +24,9 @@ config SYS_MALLOC_F_LEN
config USE_PRIVATE_LIBGCC
default y
config DM_USB
default y
config SPL_DM
default y

View file

@ -161,8 +161,10 @@ int board_init(void)
#ifdef CONFIG_USB_EHCI_TEGRA
pin_mux_usb();
# ifndef CONFIG_DM_USB
usb_process_devicetree(gd->fdt_blob);
# endif
#endif
#ifdef CONFIG_LCD
board_id = tegra_board_id();