diff options
author | Marek Vasut <marex@denx.de> | 2015-08-01 22:25:29 +0200 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2015-08-08 14:14:27 +0200 |
commit | 99f453e9533f590fe40432b62c131625d7e91e46 (patch) | |
tree | 79f256ba93f39b3553ed95ea0d9a979f2d09807a /arch/arm | |
parent | 1e8a85f8c570932529a20b5634845b2a998b4262 (diff) | |
download | u-boot-imx-99f453e9533f590fe40432b62c131625d7e91e46.zip u-boot-imx-99f453e9533f590fe40432b62c131625d7e91e46.tar.gz u-boot-imx-99f453e9533f590fe40432b62c131625d7e91e46.tar.bz2 |
ddr: altera: sdram: Clean up sdram_mmr_init_full() part 8
Fix the return value so that standard errno return values can be used.
Signed-off-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-socfpga/include/mach/sdram.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-socfpga/include/mach/sdram.h b/arch/arm/mach-socfpga/include/mach/sdram.h index d57257d..89240b8 100644 --- a/arch/arm/mach-socfpga/include/mach/sdram.h +++ b/arch/arm/mach-socfpga/include/mach/sdram.h @@ -9,7 +9,7 @@ #ifndef __ASSEMBLY__ unsigned long sdram_calculate_size(void); -unsigned sdram_mmr_init_full(unsigned int sdr_phy_reg); +int sdram_mmr_init_full(unsigned int sdr_phy_reg); int sdram_calibration_full(void); extern int sdram_calibration(void); |