blob: 5d9aeed96c3f0b6d7656254cece17c0004c5cb5c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
// SPDX-License-Identifier: GPL-2.0+
/*
* (C) Copyright 2026 Kernelspace
* Angelo Dureghello <[email protected]>
*/
#include <config.h>
#include <asm/arch/clock.h>
#include <asm/global_data.h>
DECLARE_GLOBAL_DATA_PTR;
/*
* Stub to use existing nxp/fsl drivers.
*/
int mxc_get_clock(enum mxc_clock clk)
{
if (clk == MXC_ESDHC_CLK)
return gd->arch.sdhc_clk;
printf("Unsupported MXC CLK: %d\n", clk);
return 0;
}
|