tegra20: rework UART GPIO handling
authorLucas Stach <dev@lynxeye.de>
Tue, 25 Sep 2012 20:21:14 +0000 (20:21 +0000)
committerTom Rini <trini@ti.com>
Mon, 15 Oct 2012 18:54:07 +0000 (11:54 -0700)
commit0cd10c7abf3d210c921a0e5c86c2abdbf98c68c5
treebf393f294d59bb593f7139834ef00ca2b3324d8a
parent65530a842eeaf7ad07e0613ac6f883f2f1f1e33f
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>
arch/arm/cpu/arm720t/tegra-common/board.h
arch/arm/cpu/arm720t/tegra-common/spl.c
board/avionic-design/common/tamonten.c
board/compal/paz00/paz00.c
board/compulab/trimslice/trimslice.c
board/nvidia/common/board.c
board/nvidia/harmony/harmony.c
board/nvidia/seaboard/seaboard.c
board/nvidia/whistler/whistler.c