arm: socfpga: pl310: Map SDRAM to 0x0
authorMarek Vasut <marex@denx.de>
Mon, 15 Sep 2014 01:58:22 +0000 (03:58 +0200)
committerMarek Vasut <marex@denx.de>
Mon, 6 Oct 2014 15:46:50 +0000 (17:46 +0200)
commit60d804c2f3ddd0071348c6e65999e19b4d07d16a
tree0dd1b2b0104af2a273a6cb0fae0c158f5ae2955c
parent7056efcc32081256af6172611874709c780f2007
arm: socfpga: pl310: Map SDRAM to 0x0

Configure the PL310 address filter to make sure DRAM is mapped to 0x0.
This code also configures the "remap" register of NIC-301 and sets the
required 'mpuzero' bit.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Chin Liang See <clsee@altera.com>
Cc: Dinh Nguyen <dinguyen@altera.com>
Cc: Albert Aribaud <albert.u.boot@aribaud.net>
Cc: Tom Rini <trini@ti.com>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Pavel Machek <pavel@denx.de>
Acked-by: Pavel Machek <pavel@denx.de>
arch/arm/cpu/armv7/socfpga/misc.c