diff options
author | Simon Glass <sjg@chromium.org> | 2011-10-03 15:24:16 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2011-10-20 11:26:11 -0700 |
commit | 88c96779f8429c9d2e934a33407e4d3d937b5002 (patch) | |
tree | d9ed66c2752461d71db757c02754c76537b0181d /board | |
parent | b166ce8bdde0a2b7c506a93d4d60f92e932c64d4 (diff) |
tegra3: Add T30 support
This adds support for T30 init to ap20.c, and modifies the board file
to cope with it also. The only thing missing at this point is the
pinmux setup.
BUG=chromium-os:21033
TEST=build and boot on Seaboard
Change-Id: I3e75245c1fdb99bc15eadcf60b173e6f0d9bb56c
Reviewed-on: http://gerrit.chromium.org/gerrit/8704
Reviewed-by: Tom Warren <twarren@nvidia.com>
Reviewed-by: Jimmy Zhang <jimmzhang@nvidia.com>
Tested-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board')
-rw-r--r-- | board/nvidia/common/board.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/board/nvidia/common/board.c b/board/nvidia/common/board.c index c29eba73b92..34945a5457b 100644 --- a/board/nvidia/common/board.c +++ b/board/nvidia/common/board.c @@ -38,8 +38,8 @@ #ifdef CONFIG_TEGRA2 #include <asm/arch/emc.h> #include <asm/arch/gpio.h> -#include <asm/arch/pinmux.h> #endif +#include <asm/arch/pinmux.h> #include <asm/arch/sys_proto.h> #ifdef CONFIG_TEGRA2 #include <asm/arch/usb.h> @@ -94,7 +94,6 @@ int timer_init(void) static void enable_uart(enum periph_id pid) { -#if defined(CONFIG_TEGRA2) /* Assert UART reset and enable clock */ reset_set_enable(pid, 1); clock_enable(pid); @@ -105,7 +104,6 @@ static void enable_uart(enum periph_id pid) /* De-assert reset to UART */ reset_set_enable(pid, 0); -#endif } /* @@ -197,7 +195,9 @@ static void pin_mux_mmc(void) */ static void pinmux_init(int uart_ids) { +#if defined(CONFIG_TEGRA2) pin_mux_uart(uart_ids); +#endif pin_mux_switches(); } |