]> git.baikalelectronics.ru Git - uboot.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)
commit2eeee72555a172ace338d9cd4e048e77c168dad7
tree6a9a97977fcfd5cea58790329e7867d2e3d28d0d
parentb9553caaa2e01679ec988b4b2730472a7361b4e1
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