OSDN Git Service

MIPS: add detect_memory_region()
authorJohn Crispin <blogic@openwrt.org>
Sat, 13 Apr 2013 11:15:47 +0000 (13:15 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 7 May 2013 23:19:11 +0000 (01:19 +0200)
commit4d9f77d2526840fc2b3d4dcaedfd2f633a6d5426
tree7efbfc22a32c23dc886855b325b88e7356a4f355
parent9d50094dfec829a1361e595d5d09dfa0f2fe5057
MIPS: add detect_memory_region()

Add a generic way of detecting the available RAM. This function is based on the
implementation already used by ath79.

Signed-off-by: John Crispin <blogic@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/5178/
arch/mips/include/asm/bootinfo.h
arch/mips/kernel/setup.c