mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-30 08:31:03 +00:00
71fe22256c
Up to now, the function is_serdes_configed() doesn't check if the map of serdes protocol is initialized before accessing it. The function is_serdes_configed() will get wrong result when it was called before the serdes protocol maps initialized. As the first element of the map isn't used for any device, so use it as the flag to indicate if the map has been initialized. Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com> |
||
---|---|---|
.. | ||
clock.c | ||
cpu.c | ||
fdt.c | ||
fsl_epu.c | ||
fsl_epu.h | ||
fsl_ls1_serdes.c | ||
fsl_ls1_serdes.h | ||
ls102xa_sata.c | ||
ls102xa_serdes.c | ||
Makefile | ||
psci.S | ||
soc.c | ||
spl.c | ||
timer.c |