From acd543359d3893d8bd97b13530f0b665160b8dec Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Mon, 18 May 2015 22:32:13 +0200 Subject: [PATCH] ar71xx/sysmocom: set art table even for 8mb devices to the last sector of 16mb This is possible because the memory will be wrapped around when using the mapped spi memory space. --- target/linux/ar71xx/files/arch/mips/ath79/mach-sysmocom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-sysmocom.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-sysmocom.c index ee16efa..28293c0 100644 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-sysmocom.c +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-sysmocom.c @@ -164,7 +164,7 @@ static void __init sysmocom_sob_ap1_setup(void) static void __init sysmocom_sob_ap2_setup(void) { - u8 *art = (u8 *) KSEG1ADDR(0x1f7f0000); + u8 *art = (u8 *) KSEG1ADDR(0x1fff0000); sysmocom_common_setup(); ath79_register_wmac(art + SYSMOCOM_CALDATA_OFFSET,