
On Thursday 20 October 2011 15:03:27 Simon Glass wrote:
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.
so how does printf()/debug() work in the spi driver ? or it doesn't ?
owns the pins. It also flips over the controlling GPIO as needed
missing period at the end here
--- /dev/null +++ b/board/nvidia/common/Makefile
+clean:
- rm -f $(SOBJS) $(OBJS)
+distclean: clean
- rm -f $(LIB) core *.bak $(obj).depend
dead code
--- /dev/null +++ b/board/nvidia/common/uart-spi-fix.c
maybe call it "uart-spi-switch" ?
--- 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))
unrelated change sneak in ?
--- /dev/null +++ b/include/uart-spi-fix.h
i can't see this being a general thing, so probably best to keep in the tegra- specific subdirs -mike