MIPS: ralink: add memory definition for RT305x
authorJohn Crispin <blogic@openwrt.org>
Sat, 13 Apr 2013 13:13:40 +0000 (15:13 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 7 May 2013 23:19:11 +0000 (01:19 +0200)
commitdafecee8bb4e56af4d3a5f47b5982e6eff5d60b0
tree741d452edf7118dea5d57d7f50f3f3c8d7ed52d6
parent629e39eec88a6da187674816bf9d8fe960b07db5
MIPS: ralink: add memory definition for RT305x

Populate struct soc_info with the data that describes our RAM window.

As memory detection fails on RT5350 we read the amount of available memory
from the system controller.

Signed-off-by: John Crispin <blogic@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/5180/
arch/mips/include/asm/mach-ralink/rt305x.h
arch/mips/ralink/rt305x.c