]> git.baikalelectronics.ru Git - uboot.git/commit
imx: imx8m: fix boot when CONFIG_$(SPL_)CLK not defined
authorPeng Fan <peng.fan@nxp.com>
Wed, 16 Oct 2019 03:01:51 +0000 (03:01 +0000)
committerStefano Babic <sbabic@denx.de>
Tue, 5 Nov 2019 09:27:18 +0000 (10:27 +0100)
commit4862744376caf8c2100e361e7ae7a0dd2c56eba1
tree3eedd8fb1cedce589585f72df72f5b2fbd847264
parent5b29fc2b2cd95ebcbdb46dfffe40e173783eafbb
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>
arch/arm/mach-imx/imx8m/soc.c