MIPS: Netlogic: Read memory from DRAM BARs
authorJayachandran C <jchandra@broadcom.com>
Wed, 21 Aug 2013 14:01:29 +0000 (19:31 +0530)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 3 Sep 2013 21:22:18 +0000 (23:22 +0200)
commita2ba6cd6e65bf96059632ed2fe48a7a0f5aea472
treee6a04a3eed22d430ebcb84b6f0d68164211b8bab
parent2c4f1ac5623750e715ae2a5fc7e0569999b9bfc5
MIPS: Netlogic: Read memory from DRAM BARs

Read the memory from the Bridge DRAM BARs, if it is not passed in
from the device tree. This will allow us to remove memory configuration
from built in device trees.

Signed-off-by: Jayachandran C <jchandra@broadcom.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/5743/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/netlogic/xlp-hal/bridge.h
arch/mips/include/asm/netlogic/xlp-hal/xlp.h
arch/mips/netlogic/xlp/nlm_hal.c
arch/mips/netlogic/xlp/setup.c