summaryrefslogtreecommitdiff
path: root/board/nvidia/common/uart-spi-switch.c
diff options
context:
space:
mode:
authorLucas Stach <dev@lynxeye.de>2012-09-29 10:02:08 +0000
committerTom Rini <trini@ti.com>2012-10-15 11:54:07 -0700
commit516f00b3240b678947389ccfbff54a5ebcc9b941 (patch)
tree504881dc35b1c8302751d00eefa634080621ef30 /board/nvidia/common/uart-spi-switch.c
parentac56d959a39cfe5310cd9394e65702a5cbc4c7a3 (diff)
tegra: clean up board include hell
The prototypes used in board files were all scattered out, which lead to code duplication between SPL and normal U-Boot and some prototypes not actually being used. Consolidate this in a common board header. Signed-off-by: Lucas Stach <dev@lynxeye.de> Acked-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'board/nvidia/common/uart-spi-switch.c')
-rw-r--r--board/nvidia/common/uart-spi-switch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/nvidia/common/uart-spi-switch.c b/board/nvidia/common/uart-spi-switch.c
index a0aeb7f020..e9d445d9e2 100644
--- a/board/nvidia/common/uart-spi-switch.c
+++ b/board/nvidia/common/uart-spi-switch.c
@@ -26,7 +26,7 @@
#include <asm/arch/uart-spi-switch.h>
#include <asm/arch/tegra.h>
#include <asm/arch-tegra/tegra_spi.h>
-
+#include <asm/arch-tegra/board.h>
/* position of the UART/SPI select switch */
enum spi_uart_switch {