diff options
author | Lucas Stach | 2012-09-25 20:21:14 +0000 |
---|---|---|
committer | Tom Rini | 2012-10-15 11:54:07 -0700 |
commit | 0cd10c7abf3d210c921a0e5c86c2abdbf98c68c5 (patch) | |
tree | bf393f294d59bb593f7139834ef00ca2b3324d8a /board/compulab/trimslice/trimslice.c | |
parent | 65530a842eeaf7ad07e0613ac6f883f2f1f1e33f (diff) |
tegra20: rework UART GPIO handling
Rename board provided gpio_config_uart() to
gpio_early_init_uart() as it does the same thing as the equally
called function provided by the uart-switch code. This allows
to simply call this function in early board init whether or not
we are building with CONFIG_UART_SWITCH defined.
Also provide a weak symbol for this function, to avoid the
need to provide this function for boards that don't need any
fixup.
This patch supersedes the earlier posted
"tegra: convert gpio_config_uart to weak symbol".
Build tested with MAKEALL -s tegra20
Signed-off-by: Lucas Stach <dev@lynxeye.de>
Acked-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'board/compulab/trimslice/trimslice.c')
-rw-r--r-- | board/compulab/trimslice/trimslice.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/board/compulab/trimslice/trimslice.c b/board/compulab/trimslice/trimslice.c index 7b22a87c46d..9ef66fd8653 100644 --- a/board/compulab/trimslice/trimslice.c +++ b/board/compulab/trimslice/trimslice.c @@ -34,13 +34,6 @@ #include <mmc.h> #endif -/* - * Routine: gpio_config_uart - * Description: Does nothing on TrimSlice - no UART-related GPIOs. - */ -void gpio_config_uart(void) -{ -} void pin_mux_spi(void) { |