From 47dfbb5bc62c74b9685e6f243f31e768cae1a868 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Wed, 12 Mar 2014 12:52:39 +0000 Subject: 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 SVN-Revision: 39891 --- target/linux/ar71xx/files/arch/mips/ath79/mach-rb95x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/ar71xx/files/arch/mips') 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; -- cgit v1.2.3