mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
mmc: zynq_sdhci: Move setting tapdelay code to driver
Move tapdelay function calls to zynq_sdhci.c and make them static inline. zynqmp_tap_delay.h has function prototypes for the functions defined in tap_delays.c, which will not be needed anymore. Remove tap_delays.c and zynqmp_tap_delay.h files. Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
This commit is contained in:
committed by
Michal Simek
parent
d044982555
commit
655d69faaf
@@ -1,34 +0,0 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/*
|
||||
* Xilinx ZynqMP SoC Tap Delay Programming
|
||||
*
|
||||
* Copyright (C) 2018 Xilinx, Inc.
|
||||
*/
|
||||
|
||||
#ifndef __ZYNQMP_TAP_DELAY_H__
|
||||
#define __ZYNQMP_TAP_DELAY_H__
|
||||
|
||||
#include <zynqmp_firmware.h>
|
||||
|
||||
#ifdef CONFIG_ARCH_ZYNQMP
|
||||
int zynqmp_dll_reset(u8 node_id, u32 type);
|
||||
int arasan_zynqmp_set_in_tapdelay(u8 device_id, u32 itap_delay);
|
||||
int arasan_zynqmp_set_out_tapdelay(u8 device_id, u32 otap_delay);
|
||||
#else
|
||||
inline int zynqmp_dll_reset(u8 deviceid, u32 type)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
inline int arasan_zynqmp_set_in_tapdelay(u8 device_id, u32 itap_delay)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
inline int arasan_zynqmp_set_out_tapdelay(u8 device_id, u32 otap_delay)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user