]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
spi: davinci: Fix register address for SPI1_BUS
authorAxel Lin <axel.lin@ingics.com>
Wed, 18 Jun 2014 01:09:34 +0000 (09:09 +0800)
committerTom Rini <trini@ti.com>
Thu, 19 Jun 2014 21:53:59 +0000 (17:53 -0400)
Fix a trivial copy-paste bug.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
drivers/spi/davinci_spi.c

index 28fb3a2e9f8f0e0c01214cc669a5383e96688470..0ec5b9d85920d4aca224fc91925925d5ca25703a 100644 (file)
@@ -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