aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch/mips
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2014-03-12 12:52:39 +0000
committerGabor Juhos <juhosg@openwrt.org>2014-03-12 12:52:39 +0000
commit47dfbb5bc62c74b9685e6f243f31e768cae1a868 (patch)
tree0079288be74d8849bc3a7c4dc4e8e0807c24f4f9 /target/linux/ar71xx/files/arch/mips
parent25e870eed60c817f16429ee1c4c7d2fe56da2bc1 (diff)
downloadupstream-47dfbb5bc62c74b9685e6f243f31e768cae1a868.tar.gz
upstream-47dfbb5bc62c74b9685e6f243f31e768cae1a868.tar.bz2
upstream-47dfbb5bc62c74b9685e6f243f31e768cae1a868.zip
ar71xx: rb95x: use correct SPI flash address
The flash address passed to rb_init_info() is bogus, use the predefined AR71XX_SPI_BASE macro instead. Compile tested only. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39891
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-rb95x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-rb95x.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-rb95x.c
index f6de80ab81..c2261ab9f1 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-rb95x.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-rb95x.c
@@ -184,7 +184,7 @@ static int __init rb95x_setup(void)
{
const struct rb_info *info;
- info = rb_init_info((void *)(KSEG1ADDR(0x1f00000)), 0x10000);
+ info = rb_init_info((void *)(KSEG1ADDR(AR71XX_SPI_BASE)), 0x10000);
if (!info)
return -EINVAL;