[U-Boot] [PATCH 6/8] tegra2: Implement SPI / UART GPIO switch
Mike Frysinger
vapier at gentoo.org
Thu Oct 20 22:06:45 CEST 2011
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
More information about the U-Boot
mailing list