public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] spi: davinci: Fix register address for SPI1_BUS
@ 2014-06-18  1:09 Axel Lin
  2014-06-19 22:03 ` [U-Boot] " Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Axel Lin @ 2014-06-18  1:09 UTC (permalink / raw)
  To: u-boot

Fix a trivial copy-paste bug.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
 drivers/spi/davinci_spi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/spi/davinci_spi.c b/drivers/spi/davinci_spi.c
index 28fb3a2..0ec5b9d 100644
--- a/drivers/spi/davinci_spi.c
+++ b/drivers/spi/davinci_spi.c
@@ -41,7 +41,7 @@ struct spi_slave *spi_setup_slave(unsigned int bus, unsigned int cs,
 		break;
 #ifdef CONFIG_SYS_SPI1
 	case SPI1_BUS:
-		ds->regs = (struct davinci_spi_regs *)SPI0_BASE;
+		ds->regs = (struct davinci_spi_regs *)SPI1_BASE;
 		break;
 #endif
 #ifdef CONFIG_SYS_SPI2
-- 
1.8.3.2

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] spi: davinci: Fix register address for SPI1_BUS
  2014-06-18  1:09 [U-Boot] [PATCH] spi: davinci: Fix register address for SPI1_BUS Axel Lin
@ 2014-06-19 22:03 ` Tom Rini
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2014-06-19 22:03 UTC (permalink / raw)
  To: u-boot

On Wed, Jun 18, 2014 at 09:09:34AM +0800, Axel Lin wrote:

> Fix a trivial copy-paste bug.
> 
> Signed-off-by: Axel Lin <axel.lin@ingics.com>

Applied to u-boot-ti/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140619/144fab69/attachment.pgp>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-06-19 22:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-18  1:09 [U-Boot] [PATCH] spi: davinci: Fix register address for SPI1_BUS Axel Lin
2014-06-19 22:03 ` [U-Boot] " Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox