ddr: socfpga: Enable memory test on memory size less than 1GB
authorTien Fong Chee <tien.fong.chee@intel.com>
Tue, 10 Aug 2021 03:26:36 +0000 (11:26 +0800)
committerTien Fong Chee <tien.fong.chee@intel.com>
Wed, 25 Aug 2021 05:43:51 +0000 (13:43 +0800)
commit1b378cc95addaf3d8d6928069b84c7a5c4e73f24
tree74dd1513c0cc033806d705478cdedea9a9f6d416
parent37529cf2852a12424bfbbeb98be000116d747796
ddr: socfpga: Enable memory test on memory size less than 1GB

Minimum 1GB memory size is required in current memory test, so this patch
improves the memory test for processing memory size less than 1GB, and
the size in power of two.

Signed-off-by: Tien Fong Chee <tien.fong.chee@intel.com>
drivers/ddr/altera/sdram_soc64.c