diff options
author | Simon Glass <sjg@chromium.org> | 2012-02-27 10:52:50 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-03-29 08:12:49 +0200 |
commit | f10393e501ede54d2d19a2ad1d533dbe7c926f26 (patch) | |
tree | cd6a43407708ac24f4b19d79950b5d1cb806a7e4 /board/nvidia/common/board.h | |
parent | 2866903b3e32909085ffe486baca1bcb44e2caeb (diff) |
tegra: usb: Add USB support to nvidia boards
This adds basic USB support for port 0. The other port is not supported
yet.
Tegra2 (SeaBoard) # usb start
(Re)start USB...
USB: Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 5 USB Device(s) found
scanning bus for storage devices... 1 Storage Device(s) found
Tegra2 (SeaBoard) # ext2load usb 0:3 10000000 /boot/vmlinuz
Loading file "/boot/vmlinuz" from usb device 0:3 (ROOT-A)
2932976 bytes read
Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'board/nvidia/common/board.h')
-rw-r--r-- | board/nvidia/common/board.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/board/nvidia/common/board.h b/board/nvidia/common/board.h index a638af2041..09fb158f4e 100644 --- a/board/nvidia/common/board.h +++ b/board/nvidia/common/board.h @@ -27,4 +27,10 @@ void gpio_config_uart(void); void gpio_early_init_uart(void); +/* + * Set up any pin muxing needed for USB (for now, since fdt doesn't support + * it). Boards can overwrite the default fucction which does nothing. + */ +void pin_mux_usb(void); + #endif /* BOARD_H */ |