ddr: altera: sdram: Clean up sdram_mmr_init_full() part 8
authorMarek Vasut <marex@denx.de>
Sat, 1 Aug 2015 20:25:29 +0000 (22:25 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:17:36 +0000 (08:17 +0200)
commit751613d650dea354a6876be0a84fb99345e7ae24
treee4d1f8e2fea7e2b232b6ec558bc5bff19e3e0be8
parentc5196e4dde3d6df995ddf2408da9ac8f2236ba54
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>
arch/arm/mach-socfpga/include/mach/sdram.h
drivers/ddr/altera/sdram.c