From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Thu, 20 Oct 2011 16:06:45 -0400 Subject: [U-Boot] [PATCH 6/8] tegra2: Implement SPI / UART GPIO switch In-Reply-To: <1319137409-4132-7-git-send-email-sjg@chromium.org> References: <1319137409-4132-1-git-send-email-sjg@chromium.org> <1319137409-4132-7-git-send-email-sjg@chromium.org> Message-ID: <201110201606.46460.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. Url : http://lists.denx.de/pipermail/u-boot/attachments/20111020/b47b78db/attachment.pgp