summaryrefslogtreecommitdiff
path: root/arch/arm/mach-k3/include/mach
diff options
context:
space:
mode:
authorLokesh Vutla <lokeshvutla@ti.com>2018-11-02 19:51:02 +0530
committerTom Rini <trini@konsulko.com>2018-11-16 16:51:58 -0500
commit06bda1259ffc3ef899de70c7fb86b0982a2912f0 (patch)
tree55956e9678553d16b916493eddc4842d73b1b8d3 /arch/arm/mach-k3/include/mach
parentc235b087b393f02790608a94d9c15df282abca28 (diff)
ram: Introduce K3 AM654 DDR Sub System driver
K3 based AM654 devices has DDR memory subsystem that comprises Synopys DDR controller, Synopsis DDR phy and wrapper logic to intergrate these blocks into the device. This DDR subsystem provides an interface to external SDRAM devices. Adding support for the initialization of the external SDRAM devices by configuring the DDRSS registers and using the buitin PHY routines. Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Signed-off-by: Andreas Dannenberg <dannenberg@ti.com> Signed-off-by: Keerthy <j-keerthy@ti.com> Signed-off-by: Schuyler Patton <spatton@ti.com> Signed-off-by: James Doublesin <doublesin@ti.com>
Diffstat (limited to 'arch/arm/mach-k3/include/mach')
-rw-r--r--arch/arm/mach-k3/include/mach/sys_proto.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/mach-k3/include/mach/sys_proto.h b/arch/arm/mach-k3/include/mach/sys_proto.h
new file mode 100644
index 0000000000..0b2007981a
--- /dev/null
+++ b/arch/arm/mach-k3/include/mach/sys_proto.h
@@ -0,0 +1,14 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com/
+ * Andreas Dannenberg <dannenberg@ti.com>
+ */
+
+#ifndef _SYS_PROTO_H_
+#define _SYS_PROTO_H_
+
+void sdelay(unsigned long loops);
+u32 wait_on_value(u32 read_bit_mask, u32 match_value, void *read_addr,
+ u32 bound);
+
+#endif