imx: imx8m: fix boot when CONFIG_$(SPL_)CLK not defined
When CONFIG_$(SPL_)CLK not defined, the clock controller device not exist, so to avoid boot failure for platform not have CONFIG_$(SPL_)CLK, add a check. Reviewed-by: NPatrick Wildt <patrick@blueri.se> Tested-by: NPatrick Wildt <patrick@blueri.se> Signed-off-by: NPeng Fan <peng.fan@nxp.com>
Showing
想要评论请 注册 或 登录