ARM: socfpga: Add DRAM bank size initialization function
authorTien Fong Chee <tien.fong.chee@intel.com>
Tue, 5 Dec 2017 07:58:01 +0000 (15:58 +0800)
committerMarek Vasut <marex@denx.de>
Fri, 18 May 2018 08:30:47 +0000 (10:30 +0200)
commit53faef1e3fea9ab45981707eaebdacd1af0275d5
tree74f97cc1a846b4c025a668d8b74d7bd6f36a7e8c
parent9ef9fe3455557161d076a821f0a65ee490198931
ARM: socfpga: Add DRAM bank size initialization function

Add function for both multiple DRAM bank and single DRAM bank size
initialization. This common functionality could be used by every single
SOCFPGA board.

Signed-off-by: Tien Fong Chee <tien.fong.chee@intel.com>
Tested-by: Ley Foon Tan <ley.foon.tan@intel.com>
arch/arm/mach-socfpga/board.c