Skip to contentSkip to conversation

ath79: Increase max memory limit to 256MByte

PATCH In review Helmut Schaa 2 participants 3 messages Dec 18, 2014 – Mar 25, 2015 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ath79: Increase max memory limit to 256MByte

At least QCA955x can handle up to 256MBytes.

---

Only tested on QCA955x, not sure if this would affect older SoCs in some way.

Thanks,
Helmut

 arch/mips/ath79/common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/ath79/common.h +1 -1
index a312071..c39de61 100644
@@ -17,7 +17,7 @@
 #include <linux/types.h>
 
 #define ATH79_MEM_SIZE_MIN	(2 * 1024 * 1024)
-#define ATH79_MEM_SIZE_MAX	(128 * 1024 * 1024)
+#define ATH79_MEM_SIZE_MAX	(256 * 1024 * 1024)
 
 void ath79_clocks_init(void);
 unsigned long ath79_get_sys_clk_rate(const char *id);
Signature · 1 line
1.8.4.5
#1 lore raw

Hi,

Quoted 6 lines · Helmut Schaa

At least QCA955x can handle up to 256MBytes.

---

Only tested on QCA955x, not sure if this would affect older SoCs in some way.

Any objections to this? In the meantime I was able to test on AR9344 as well (with 128MByte of RAM).

Thanks,
Helmut

#2 lore raw
Quoted 11 lines · Helmut Schaa
Quoted 6 lines · Helmut Schaa

At least QCA955x can handle up to 256MBytes.

---

Only tested on QCA955x, not sure if this would affect older SoCs in some way.

Any objections to this? In the meantime I was able to test on AR9344 as well (with 128MByte of RAM).

The holdup has rather been that none of the folks who normally handle ath79 has commented. The patch is looking ok - but I can't test it. Patch applied.

Thanks,

Ralf