mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-26 12:27:12 +00:00
spl: xea: Provide stub DM driver for imx28 clocks
This code fixes following WARNING: DTOC spl/dts/dt-plat.c fsl_imx28_clkctrl: WARNING: the driver fsl_imx28_clkctrl was not found in the driver list As imx28 doesn't yet support common clock framework, this prevents from DTOC warnings during SPL build. Signed-off-by: Lukasz Majewski <lukma@denx.de>
This commit is contained in:
parent
11194c0d11
commit
9c2eefaf0d
1 changed files with 17 additions and 0 deletions
|
@ -203,5 +203,22 @@ int ft_board_setup(void *blob, struct bd_info *bd)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
/*
|
||||||
|
* NOTE:
|
||||||
|
*
|
||||||
|
* IMX28 clock "stub" DM driver!
|
||||||
|
*
|
||||||
|
* Only used for SPL stage, which is NOT using DM; serial and
|
||||||
|
* eMMC configuration.
|
||||||
|
*/
|
||||||
|
static const struct udevice_id imx28_clk_ids[] = {
|
||||||
|
{ .compatible = "fsl,imx28-clkctrl", },
|
||||||
|
{ }
|
||||||
|
};
|
||||||
|
|
||||||
|
U_BOOT_DRIVER(fsl_imx28_clkctrl) = {
|
||||||
|
.name = "fsl_imx28_clkctrl",
|
||||||
|
.id = UCLASS_CLK,
|
||||||
|
.of_match = imx28_clk_ids,
|
||||||
|
};
|
||||||
#endif /* CONFIG_SPL_BUILD */
|
#endif /* CONFIG_SPL_BUILD */
|
||||||
|
|
Loading…
Add table
Reference in a new issue