diff options
Diffstat (limited to 'roms/u-boot/arch/arm/mach-imx/imx8/clock.c')
-rw-r--r-- | roms/u-boot/arch/arm/mach-imx/imx8/clock.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/roms/u-boot/arch/arm/mach-imx/imx8/clock.c b/roms/u-boot/arch/arm/mach-imx/imx8/clock.c new file mode 100644 index 000000000..9941b57b4 --- /dev/null +++ b/roms/u-boot/arch/arm/mach-imx/imx8/clock.c @@ -0,0 +1,22 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright 2018 NXP + */ + +#include <common.h> +#include <asm/global_data.h> +#include <linux/errno.h> +#include <asm/arch/clock.h> + +DECLARE_GLOBAL_DATA_PTR; + +u32 mxc_get_clock(enum mxc_clock clk) +{ + switch (clk) { + default: + printf("Unsupported mxc_clock %d\n", clk); + break; + } + + return 0; +} |