spi: davinci: Fix register address for SPI1_BUS
PATCH 1/1 spi: davinci: Fix register address for SPI1_BUS
Fix a trivial copy-paste bug.
Signed-off-by Axel Lin <[email protected]>
--- drivers/spi/davinci_spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/spi/davinci_spi.c +1 -1
@@ -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
Signature · 1 line
1.8.3.2
Quoted 3 lines · Axel Lin
Fix a trivial copy-paste bug.
Signed-off-by Axel Lin <[email protected]>
Applied to u-boot-ti/master, thanks!
Signature · 8 lines
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>