mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
m68k: mcf5441x: create stub to use imx drivers
Some NXP imx hardware ip module as the esdhc controller are exactly the same in some new ColdFire cpus. For the specific case, mcf5441x needs to use the existing fsl_esdhc_imx.c driver for the esdhc device. Create a stub to be able to use NXP "imx" serie drivers as the fsl_esdhc_imx in the ColdFire architecture. Signed-off-by: Angelo Dureghello <angelo@kernel-space.org>
This commit is contained in:
19
arch/m68k/include/asm/arch-mcf5445x/clock.h
Normal file
19
arch/m68k/include/asm/arch-mcf5445x/clock.h
Normal file
@@ -0,0 +1,19 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0+ */
|
||||
/*
|
||||
* ColdFire clock support
|
||||
*
|
||||
* Copyright 2026 Kernelspace.
|
||||
* Angelo Dureghello <angelo@kernel-space.org>
|
||||
*/
|
||||
|
||||
#ifndef __CLOCK_H
|
||||
#define __CLOCK_H
|
||||
|
||||
/* Stub to use fsl/nxp drivers. */
|
||||
enum mxc_clock {
|
||||
MXC_ESDHC_CLK,
|
||||
};
|
||||
|
||||
int mxc_get_clock(enum mxc_clock clk);
|
||||
|
||||
#endif /* __CLOCK_H */
|
||||
Reference in New Issue
Block a user