diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-06-18 09:09:34 +0800 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-06-19 17:53:59 -0400 |
commit | 7a4861fad0f6adc5d59a2c95899e47a0759af2b7 (patch) | |
tree | c3fd2970898d475d7f1237b90586377d03933fb1 /drivers | |
parent | 734af242c20b10b6fc690836123c5d0389b7e2a0 (diff) | |
download | u-boot-imx-7a4861fad0f6adc5d59a2c95899e47a0759af2b7.zip u-boot-imx-7a4861fad0f6adc5d59a2c95899e47a0759af2b7.tar.gz u-boot-imx-7a4861fad0f6adc5d59a2c95899e47a0759af2b7.tar.bz2 |
spi: davinci: Fix register address for SPI1_BUS
Fix a trivial copy-paste bug.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/spi/davinci_spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |