mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-28 08:35:38 +00:00

Remove <common.h> from all mach-imx, CPU specific sub-directories and include/asm/arch-mx* files and when needed add missing include files directly. Acked-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com>
21 lines
313 B
C
21 lines
313 B
C
// SPDX-License-Identifier: GPL-2.0+
|
|
/*
|
|
* Copyright 2018 NXP
|
|
*/
|
|
|
|
#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;
|
|
}
|