From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Date: Tue, 19 Mar 2013 12:14:14 -0600 Subject: [U-Boot] [PATCH v2 01/13] tegra: remove support for UART SPI switch In-Reply-To: <1363496294-31160-2-git-send-email-amartin@nvidia.com> References: <1363496294-31160-1-git-send-email-amartin@nvidia.com> <1363496294-31160-2-git-send-email-amartin@nvidia.com> Message-ID: <5148AAF6.2020000@wwwdotorg.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 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.