]> git.dujemihanovic.xyz Git - u-boot.git/commit
ddr: altera: stratix10: Move SDRAM size check to SDRAM driver
authorLey Foon Tan <ley.foon.tan@intel.com>
Thu, 21 Mar 2019 17:24:00 +0000 (01:24 +0800)
committerMarek Vasut <marex@denx.de>
Wed, 17 Apr 2019 20:20:17 +0000 (22:20 +0200)
commitb6f7ee5d1f980ffa63e22749e2deae6caa57227e
treebe6a1701360ae56a7e85ae9a3d0aac194ac45101
parentc5de2b7eae68ac27da78c32cdf0845126a0d1a77
ddr: altera: stratix10: Move SDRAM size check to SDRAM driver

Move SDRAM size check to SDRAM driver. sdram_calculate_size()
is called in SDRAM initialization already, avoid calling
twice in size check function.

Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
arch/arm/mach-socfpga/spl_s10.c
drivers/ddr/altera/sdram_s10.c