sunxi: map DRAM part with 3G size
authorIcenowy Zheng <icenowy@aosc.io>
Thu, 25 Oct 2018 09:23:05 +0000 (17:23 +0800)
committerJagan Teki <jagan@amarulasolutions.com>
Mon, 29 Oct 2018 15:11:15 +0000 (20:41 +0530)
commit7009134c99512bd8a9a09cf14f35450f32a8602c
tree9ca64abbd8fb68aa6b78104b186db347e39bb33d
parentcff5c138495a4d68fa6e16953517087732b76662
sunxi: map DRAM part with 3G size

All Allwinner 64-bit SoCs now are known to be able to access 3GiB of
external DRAM, however the size of DRAM part in the MMU translation
table is still 2GiB.

Change the size of DRAM part in MMU table to 3GiB.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
arch/arm/mach-sunxi/board.c