clk-imx8mm: Only build ecspi clocks when CONFIG_DM_SPI=y
authorFabio Estevam <festevam@denx.de>
Mon, 26 Sep 2022 16:40:10 +0000 (13:40 -0300)
committerStefano Babic <sbabic@denx.de>
Fri, 21 Oct 2022 09:54:13 +0000 (11:54 +0200)
commit4ede070601a9ef07a212c5466d7abee8df833650
treef1e62530e270a96fc5a287b13ab560ff51dd45f1
parent0d158e01813802f07714c9dbe72c38bc1af13cb4
clk-imx8mm: Only build ecspi clocks when CONFIG_DM_SPI=y

The ecspi clocks are only used when CONFIG_DM_SPI=y, so only build the
ecspi clocks in this case to reduce the final SPL binary size.

Signed-off-by: Fabio Estevam <festevam@denx.de>
drivers/clk/imx/clk-imx8mm.c