[U-Boot] [PATCH] spi: davinci: Fix register address for SPI1_BUS
Axel Lin
axel.lin at ingics.com
Wed Jun 18 03:09:34 CEST 2014
Fix a trivial copy-paste bug.
Signed-off-by: Axel Lin <axel.lin at 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
More information about the U-Boot
mailing list