summaryrefslogtreecommitdiff
path: root/include/zynqmp_tap_delay.h
diff options
context:
space:
mode:
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>2018-04-19 12:37:09 +0530
committerMichal Simek <michal.simek@xilinx.com>2018-05-11 11:13:51 +0200
commitd1f4e39d58db32a4fd1a1b4085e0ede498bd773f (patch)
tree6977912ac5e064b309ae067989801d4effe849e1 /include/zynqmp_tap_delay.h
parentb8e25ef16a58bee2770e48a7158e267f386c84de (diff)
downloadu-boot-d1f4e39d58db32a4fd1a1b4085e0ede498bd773f.tar.gz
mmc: zynq_sdhci: Add support for SD3.0
This patch adds support of SD3.0 for ZynqMP. Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'include/zynqmp_tap_delay.h')
-rw-r--r--include/zynqmp_tap_delay.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/zynqmp_tap_delay.h b/include/zynqmp_tap_delay.h
new file mode 100644
index 0000000000..b07e3e0692
--- /dev/null
+++ b/include/zynqmp_tap_delay.h
@@ -0,0 +1,19 @@
+/* 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__
+
+#ifdef CONFIG_ARCH_ZYNQMP
+void zynqmp_dll_reset(u8 deviceid);
+void arasan_zynqmp_set_tapdelay(u8 device_id, u8 uhsmode, u8 bank);
+#else
+inline void zynqmp_dll_reset(u8 deviceid) {}
+inline void arasan_zynqmp_set_tapdelay(u8 device_id, u8 uhsmode, u8 bank) {}
+#endif
+
+#endif