summaryrefslogtreecommitdiff
path: root/arch/arm/mach-socfpga/include/mach/sdram.h
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2015-04-21 20:38:22 +0900
committerMarek Vasut <marex@denx.de>2015-05-07 05:21:15 +0200
commit30088b09975017c90979d55bc0ead58ca424652f (patch)
tree99e9d089471805c750a67f6a95220add8db649da /arch/arm/mach-socfpga/include/mach/sdram.h
parent05a217212b41c6342fc1c6be0fe49ce28c9afe40 (diff)
ARM: socfpga: move SoC headers to mach-socfpga/include/mach
Move headers to mach-socfpga as well. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/arm/mach-socfpga/include/mach/sdram.h')
-rw-r--r--arch/arm/mach-socfpga/include/mach/sdram.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm/mach-socfpga/include/mach/sdram.h b/arch/arm/mach-socfpga/include/mach/sdram.h
new file mode 100644
index 0000000000..4f6489dff6
--- /dev/null
+++ b/arch/arm/mach-socfpga/include/mach/sdram.h
@@ -0,0 +1,19 @@
+/*
+ * Copyright (C) 2015 Marek Vasut <marex@denx.de>
+ *
+ * FIXME: This file contains temporary stub functions and is here
+ * only until these functions are properly merged into
+ * mainline.
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#ifndef __ARCH_SDRAM_H__
+#define __ARCH_SDRAM_H__
+
+/* function declaration */
+inline unsigned long sdram_calculate_size(void) { return 0; }
+inline unsigned sdram_mmr_init_full(unsigned int sdr_phy_reg) { return 0; }
+inline int sdram_calibration_full(void) { return 0; }
+
+#endif /* __ARCH_SDRAM_H__ */