Re: [U-Boot] [PATCH 8/8] tegra2: Create SPI/UART switch code

2011-10-20 Thread Mike Frysinger
On Thursday 20 October 2011 16:44:26 Simon Glass wrote: > Given the current mess around the eserial structure definition macros > I would need to copy that again and create a set of _putc(), _puts() > functions for each UART I think. It could be done once serial is > cleaned up, but really don't wa

Re: [U-Boot] [PATCH 8/8] tegra2: Create SPI/UART switch code

2011-10-20 Thread Simon Glass
Hi Mike, On Thu, Oct 20, 2011 at 1:34 PM, Mike Frysinger wrote: > On Thursday 20 October 2011 16:23:33 Simon Glass wrote: >> On Thu, Oct 20, 2011 at 1:09 PM, Mike Frysinger wrote: >> > On Thursday 20 October 2011 15:03:29 Simon Glass wrote: >> >> --- a/board/nvidia/seaboard/seaboard.c >> >> +++ b

Re: [U-Boot] [PATCH 8/8] tegra2: Create SPI/UART switch code

2011-10-20 Thread Mike Frysinger
On Thursday 20 October 2011 16:23:33 Simon Glass wrote: > On Thu, Oct 20, 2011 at 1:09 PM, Mike Frysinger wrote: > > On Thursday 20 October 2011 15:03:29 Simon Glass wrote: > >> --- a/board/nvidia/seaboard/seaboard.c > >> +++ b/board/nvidia/seaboard/seaboard.c > >> > >> +/* TODO: Remove this code

Re: [U-Boot] [PATCH 8/8] tegra2: Create SPI/UART switch code

2011-10-20 Thread Simon Glass
Hi Mike, On Thu, Oct 20, 2011 at 1:09 PM, Mike Frysinger wrote: > On Thursday 20 October 2011 15:03:29 Simon Glass wrote: >> --- a/board/nvidia/seaboard/seaboard.c >> +++ b/board/nvidia/seaboard/seaboard.c >> >> +/* TODO: Remove this code when the SPI switch is working */ >> +#ifndef CONFIG_SPI_U

Re: [U-Boot] [PATCH 8/8] tegra2: Create SPI/UART switch code

2011-10-20 Thread Mike Frysinger
On Thursday 20 October 2011 15:03:29 Simon Glass wrote: > --- a/board/nvidia/seaboard/seaboard.c > +++ b/board/nvidia/seaboard/seaboard.c > > +/* TODO: Remove this code when the SPI switch is working */ > +#ifndef CONFIG_SPI_UART_SWITCH eh ? isn't it working after these patches ? -mike signatur

[U-Boot] [PATCH 8/8] tegra2: Create SPI/UART switch code

2011-10-20 Thread Simon Glass
On Seaboard the UART and SPI interfere with each other. This causes the UART to receive spurious zero bytes after SPI transactions and also means that SPI can corrupt a few output characters when it starts up if they are still in the UART buffer. This updates the board to use the SPI/UART switch t