Re: [U-Boot] [Patch v2] socfpga: stratix10: fix sdram_calculate_size

2018-09-11 Thread Marek Vasut
On 09/11/2018 05:29 PM, Dalon Westergreen wrote: > Incorrect type of size variable results in 0 being > returned for sdram sizes greater than or equal to > 4GB. > > v2: > -> Move function type to phys_size_t to match gd->ram_size ^ This should be below the --- > Signed-off-by: Dalon

[U-Boot] [Patch v2] socfpga: stratix10: fix sdram_calculate_size

2018-09-11 Thread Dalon Westergreen
Incorrect type of size variable results in 0 being returned for sdram sizes greater than or equal to 4GB. v2: -> Move function type to phys_size_t to match gd->ram_size Signed-off-by: Dalon Westergreen --- arch/arm/mach-socfpga/include/mach/sdram_s10.h | 2 +- drivers/ddr/altera/sdram_s10.c