mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-27 04:18:51 +09:00
22 lines
304 B
C
22 lines
304 B
C
![]() |
// SPDX-License-Identifier: GPL-2.0+
|
||
|
/*
|
||
|
* Copyright 2018 NXP
|
||
|
*/
|
||
|
|
||
|
#include <common.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;
|
||
|
}
|