[U-Boot] [PATCH v2 01/13] tegra: remove support for UART SPI switch
Stephen Warren
swarren at wwwdotorg.org
Tue Mar 19 19:14:14 CET 2013
On 03/16/2013 10:58 PM, Allen Martin wrote:
> This feature was only used for tegra20 seaboard that had a pinmux
> conflict on the SPI pins. These boards were never manufactured, so
> remove this support to clean up SPI driver.
> diff --git a/drivers/spi/tegra_spi.c b/drivers/spi/tegra_spi.c
> @@ -175,16 +168,8 @@ int spi_claim_bus(struct spi_slave *slave)
> */
> pinmux_set_func(PINGRP_GMD, PMUX_FUNC_SFLASH);
> pinmux_tristate_disable(PINGRP_LSPI);
> + pinmux_set_func(PINGRP_GMC, PMUX_FUNC_SFLASH);
As a note for future cleanup, all this pinmux stuff should be moved out
of the SPI driver into the board file's initialization functions.
More information about the U-Boot
mailing list