From: Axel Lin Date: Wed, 18 Jun 2014 01:09:34 +0000 (+0800) Subject: spi: davinci: Fix register address for SPI1_BUS X-Git-Tag: v2014.07~74^2~2^2~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7a4861fad0f6adc5d59a2c95899e47a0759af2b7;p=u-boot spi: davinci: Fix register address for SPI1_BUS Fix a trivial copy-paste bug. Signed-off-by: Axel Lin --- diff --git a/drivers/spi/davinci_spi.c b/drivers/spi/davinci_spi.c index 28fb3a2e9f..0ec5b9d859 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