]> git.dujemihanovic.xyz Git - u-boot.git/commit
socfpga: stratix10: fix sdram_calculate_size
authorDalon Westergreen <dwesterg@gmail.com>
Tue, 11 Sep 2018 17:06:14 +0000 (10:06 -0700)
committerMarek Vasut <marex@denx.de>
Sat, 15 Sep 2018 01:17:01 +0000 (03:17 +0200)
commit02d8d3259133ea7af6031e4a780bdac1462ae057
tree6a9a97977fcfd5cea58790329e7867d2e3d28d0d
parent3570469742aec30fed0b423708df346176fa9438
socfpga: stratix10: fix sdram_calculate_size

Incorrect type of size variable results in 0 being
returned for sdram sizes greater than or equal to
4GB.

Signed-off-by: Dalon Westergreen <dwesterg@gmail.com>
arch/arm/mach-socfpga/include/mach/sdram_s10.h
drivers/ddr/altera/sdram_s10.c