rockchip: rk322x: update dram bank size
authorKever Yang <kever.yang@rock-chips.com>
Fri, 21 Jul 2017 10:21:07 +0000 (18:21 +0800)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Fri, 18 Aug 2017 14:55:25 +0000 (16:55 +0200)
commit44c5ba557bee98ec531715d3f04e9ede5599d18e
treeb3c984c80c6a11d9ecd2453ddc61923f9f968dee
parenta299a4879e4da3d4dfa9b7ee555978e67bcf1335
rockchip: rk322x: update dram bank size

The DRAM start address is not 0, so need to update the last bank size
as:
DRAM start addr + DRAM_SIZE - last bank start addr

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/mach-rockchip/rk322x-board.c