Peng Fan cd7c806f4f 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: Patrick Wildt <patrick@blueri.se>
Tested-by: Patrick Wildt <patrick@blueri.se>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
2019-11-05 10:27:18 +01:00
..
2019-05-18 08:15:35 -04:00
2019-11-03 21:17:55 +01:00
2018-07-02 15:52:50 -04:00
2019-05-18 08:15:35 -04:00
2019-11-05 10:27:18 +01:00
2019-10-14 09:31:41 +02:00
2019-11-05 10:27:18 +01:00
2019-04-25 19:16:24 +02:00
2019-11-05 10:27:18 +01:00
2019-11-05 10:27:18 +01:00
2019-08-11 16:43:41 -04:00