projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
734af24
)
spi: davinci: Fix register address for SPI1_BUS
author
Axel Lin
<axel.lin@ingics.com>
Wed, 18 Jun 2014 01:09:34 +0000
(09:09 +0800)
committer
Tom 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
patch
|
blob
|
history
diff --git
a/drivers/spi/davinci_spi.c
b/drivers/spi/davinci_spi.c
index 28fb3a2e9f8f0e0c01214cc669a5383e96688470..0ec5b9d85920d4aca224fc91925925d5ca25703a 100644
(file)
--- 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 *)SPI
0
_BASE;
+ ds->regs = (struct davinci_spi_regs *)SPI
1
_BASE;
break;
#endif
#ifdef CONFIG_SYS_SPI2