From 0cd10c7abf3d210c921a0e5c86c2abdbf98c68c5 Mon Sep 17 00:00:00 2001 From: Lucas Stach Date: Tue, 25 Sep 2012 20:21:14 +0000 Subject: 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 Acked-by: Simon Glass Signed-off-by: Tom Warren --- board/avionic-design/common/tamonten.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'board/avionic-design/common/tamonten.c') diff --git a/board/avionic-design/common/tamonten.c b/board/avionic-design/common/tamonten.c index 7c05d49..e6a932e 100644 --- a/board/avionic-design/common/tamonten.c +++ b/board/avionic-design/common/tamonten.c @@ -40,13 +40,6 @@ #include #endif -/* - * Routine: gpio_config_uart - * Description: Does nothing on Tamonten - no conflict w/SPI. - */ -void gpio_config_uart(void) -{ -} #ifdef CONFIG_BOARD_EARLY_INIT_F void gpio_early_init(void) -- cgit v1.1