aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/files/include/asm-mips/mach-bcm63xx
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-04-08 08:52:57 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-04-08 08:52:57 +0000
commitc1c91b95fc15df85acc9c97c9acded5b8d4c23e3 (patch)
tree7854c067432ef570744b3e3659205f381a7660f7 /target/linux/brcm63xx/files/include/asm-mips/mach-bcm63xx
parent605c54e0a1b0c493fa5892b4b1646ec335aedfe4 (diff)
downloadmaster-187ad058-c1c91b95fc15df85acc9c97c9acded5b8d4c23e3.tar.gz
master-187ad058-c1c91b95fc15df85acc9c97c9acded5b8d4c23e3.tar.bz2
master-187ad058-c1c91b95fc15df85acc9c97c9acded5b8d4c23e3.zip
[brcm63xx] some more fixes to the SPI controller driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15146 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/files/include/asm-mips/mach-bcm63xx')
-rw-r--r--target/linux/brcm63xx/files/include/asm-mips/mach-bcm63xx/bcm63xx_io.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/target/linux/brcm63xx/files/include/asm-mips/mach-bcm63xx/bcm63xx_io.h b/target/linux/brcm63xx/files/include/asm-mips/mach-bcm63xx/bcm63xx_io.h
index 5331c25f7b..31e950e117 100644
--- a/target/linux/brcm63xx/files/include/asm-mips/mach-bcm63xx/bcm63xx_io.h
+++ b/target/linux/brcm63xx/files/include/asm-mips/mach-bcm63xx/bcm63xx_io.h
@@ -93,15 +93,15 @@
/*
* helpers for the SPI register sets
*/
-#define bcm_spi_readb(o) bcm_readb(bcm63xx_regset_address(RSET_SPI) + \
+#define bcm_spi_readb(b,o) bcm_readb((b) + \
bcm63xx_spireg(o))
-#define bcm_spi_readw(o) bcm_readw(bcm63xx_regset_address(RSET_SPI) + \
+#define bcm_spi_readw(b,o) bcm_readw((b) + \
bcm63xx_spireg(o))
-#define bcm_spi_writeb(v,o) bcm_writeb((v), \
- bcm63xx_regset_address(RSET_SPI) + \
+#define bcm_spi_writeb(v,b,o) bcm_writeb((v), \
+ (b) + \
bcm63xx_spireg(o))
-#define bcm_spi_writew(v,o) bcm_writew((v), \
- bcm63xx_regset_address(RSET_SPI) + \
+#define bcm_spi_writew(v,b,o) bcm_writew((v), \
+ (b) + \
bcm63xx_spireg(o))
#endif /* ! BCM63XX_IO_H_ */