u-boot/drivers/ram/rockchip
Jagan Teki 02fad6f9ed ram: rk3399: Handle data training return types
data trainings calls like ca, wl, rg, rl, wdql have proper
return types with -EIO and the return type missed to handle
in data_training function.

This patch, add proper return type checks along with useful
debug statement on each data training calls.

Incidentally this would help to prevent the sdram initialization
hang for single channel dram and when the code is trying to
initialize second channel with proper return type of relevant
data training call might failed.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Kever Yang <Kever.yang@rock-chips.com>
2019-07-19 11:11:09 +08:00
..
dmc-rk3368.c rockchip: dmc: rk3368: update rank number for evb-px5 2019-05-08 17:34:12 +08:00
Makefile drivers: cosmetic: Convert SPDX license tags to Linux Kernel style 2018-10-28 09:26:39 -04:00
sdram_rk322x.c Revert "rockchip: rk322x: ram: enable DRAM init in SPL instead of TPL" 2019-05-08 17:34:12 +08:00
sdram_rk3128.c rockchip: use 'arch-rockchip' as header file path 2019-05-01 00:00:05 +02:00
sdram_rk3188.c rockchip: use 'arch-rockchip' as header file path 2019-05-01 00:00:05 +02:00
sdram_rk3288.c rockchip: use 'arch-rockchip' as header file path 2019-05-01 00:00:05 +02:00
sdram_rk3328.c rockchip: use 'arch-rockchip' as header file path 2019-05-01 00:00:05 +02:00
sdram_rk3399.c ram: rk3399: Handle data training return types 2019-07-19 11:11:09 +08:00