|
@@ -33,6 +33,7 @@
|
|
#include <asm/arch/pinmux.h>
|
|
#include <asm/arch/pinmux.h>
|
|
#include <asm/arch/uart.h>
|
|
#include <asm/arch/uart.h>
|
|
#include <spi.h>
|
|
#include <spi.h>
|
|
|
|
+#include <asm/arch/usb.h>
|
|
#include "board.h"
|
|
#include "board.h"
|
|
|
|
|
|
DECLARE_GLOBAL_DATA_PTR;
|
|
DECLARE_GLOBAL_DATA_PTR;
|
|
@@ -50,6 +51,12 @@ int timer_init(void)
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+void __pin_mux_usb(void)
|
|
|
|
+{
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+void pin_mux_usb(void) __attribute__((weak, alias("__pin_mux_usb")));
|
|
|
|
+
|
|
/*
|
|
/*
|
|
* Routine: board_init
|
|
* Routine: board_init
|
|
* Description: Early hardware init.
|
|
* Description: Early hardware init.
|
|
@@ -69,6 +76,11 @@ int board_init(void)
|
|
/* boot param addr */
|
|
/* boot param addr */
|
|
gd->bd->bi_boot_params = (NV_PA_SDRAM_BASE + 0x100);
|
|
gd->bd->bi_boot_params = (NV_PA_SDRAM_BASE + 0x100);
|
|
|
|
|
|
|
|
+#ifdef CONFIG_USB_EHCI_TEGRA
|
|
|
|
+ pin_mux_usb();
|
|
|
|
+ board_usb_init(gd->fdt_blob);
|
|
|
|
+#endif
|
|
|
|
+
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
|