summaryrefslogtreecommitdiff
path: root/board/nvidia/seaboard
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2011-11-05 04:46:49 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-12-24 10:23:31 +0100
commitcb93481268904df3447fbe8b0ccb2862967efc26 (patch)
tree9df6b1370a3c55b7720d442f9b9324f590663cf0 /board/nvidia/seaboard
parent9dd79fdb6cfed5c62aa5adeaa7d5f758114e105c (diff)
downloadu-boot-imx-cb93481268904df3447fbe8b0ccb2862967efc26.zip
u-boot-imx-cb93481268904df3447fbe8b0ccb2862967efc26.tar.gz
u-boot-imx-cb93481268904df3447fbe8b0ccb2862967efc26.tar.bz2
tegra2: Implement SPI / UART GPIO switch
The Tegra2 Seaboard has the unfortunate feature that SPI and the console UART are multiplexed on the same pins. We need to switch between one and the other during SPI and console activity. This new file implements a switch and keeps track of which peripheral owns the pins. It also flips over the controlling GPIO as needed Since we are adding a second file to board/nvidia/common, we create a proper Makefile there and remove the direct board.o include from board/nvidia/seaboard/Makefile Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'board/nvidia/seaboard')
-rw-r--r--board/nvidia/seaboard/Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/board/nvidia/seaboard/Makefile b/board/nvidia/seaboard/Makefile
index f6599de..b6efa1c 100644
--- a/board/nvidia/seaboard/Makefile
+++ b/board/nvidia/seaboard/Makefile
@@ -31,7 +31,6 @@ endif
LIB = $(obj)lib$(BOARD).o
COBJS := $(BOARD).o
-COBJS += ../common/board.o
SRCS := $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))