]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: uniphier: merge umc/ and ddrphy/ into a single directory
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 17 Dec 2015 08:47:47 +0000 (17:47 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 22 Dec 2015 15:08:55 +0000 (00:08 +0900)
The UMC (Universal Memory Controller) and the DDR PHY block are
highly related to each other.  It is better to have both code in the
same directory.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/mach-uniphier/Makefile
arch/arm/mach-uniphier/ddrphy/Makefile [deleted file]
arch/arm/mach-uniphier/dram/Makefile [new file with mode: 0644]
arch/arm/mach-uniphier/dram/ddrphy-ph1-ld4.c [moved from arch/arm/mach-uniphier/ddrphy/ddrphy-ph1-ld4.c with 100% similarity]
arch/arm/mach-uniphier/dram/ddrphy-ph1-pro4.c [moved from arch/arm/mach-uniphier/ddrphy/ddrphy-ph1-pro4.c with 100% similarity]
arch/arm/mach-uniphier/dram/ddrphy-ph1-sld8.c [moved from arch/arm/mach-uniphier/ddrphy/ddrphy-ph1-sld8.c with 100% similarity]
arch/arm/mach-uniphier/dram/ddrphy-training.c [moved from arch/arm/mach-uniphier/ddrphy/ddrphy-training.c with 100% similarity]
arch/arm/mach-uniphier/dram/umc-ph1-ld4.c [moved from arch/arm/mach-uniphier/umc/umc-ph1-ld4.c with 100% similarity]
arch/arm/mach-uniphier/dram/umc-ph1-pro4.c [moved from arch/arm/mach-uniphier/umc/umc-ph1-pro4.c with 100% similarity]
arch/arm/mach-uniphier/dram/umc-ph1-sld8.c [moved from arch/arm/mach-uniphier/umc/umc-ph1-sld8.c with 100% similarity]
arch/arm/mach-uniphier/umc/Makefile [deleted file]

index 86929a27d40754c83a8341b4a3375a64998c9b5e..5b19f93ea99c648780d700fb29892e38fa96c3e1 100644 (file)
@@ -7,7 +7,7 @@ ifdef CONFIG_SPL_BUILD
 obj-y += lowlevel_init.o
 obj-y += init_page_table.o
 
-obj-y += init/ bcu/ memconf/ pll/ early-clk/ early-pinctrl/ umc/ ddrphy/
+obj-y += init/ bcu/ memconf/ pll/ early-clk/ early-pinctrl/ dram/
 obj-$(CONFIG_MICRO_SUPPORT_CARD) += sbc/
 
 obj-$(CONFIG_DEBUG_LL) += debug_ll.o
diff --git a/arch/arm/mach-uniphier/ddrphy/Makefile b/arch/arm/mach-uniphier/ddrphy/Makefile
deleted file mode 100644 (file)
index d0f4bd3..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-#
-# SPDX-License-Identifier:     GPL-2.0+
-#
-
-obj-$(CONFIG_ARCH_UNIPHIER_PH1_LD4)    += ddrphy-training.o ddrphy-ph1-ld4.o
-obj-$(CONFIG_ARCH_UNIPHIER_PH1_PRO4)   += ddrphy-training.o ddrphy-ph1-pro4.o
-obj-$(CONFIG_ARCH_UNIPHIER_PH1_SLD8)   += ddrphy-training.o ddrphy-ph1-sld8.o
diff --git a/arch/arm/mach-uniphier/dram/Makefile b/arch/arm/mach-uniphier/dram/Makefile
new file mode 100644 (file)
index 0000000..d3a767b
--- /dev/null
@@ -0,0 +1,10 @@
+#
+# SPDX-License-Identifier:     GPL-2.0+
+#
+
+obj-$(CONFIG_ARCH_UNIPHIER_PH1_LD4)    += umc-ph1-ld4.o \
+                                          ddrphy-training.o ddrphy-ph1-ld4.o
+obj-$(CONFIG_ARCH_UNIPHIER_PH1_PRO4)   += umc-ph1-pro4.o \
+                                          ddrphy-training.o ddrphy-ph1-pro4.o
+obj-$(CONFIG_ARCH_UNIPHIER_PH1_SLD8)   += umc-ph1-sld8.o \
+                                          ddrphy-training.o ddrphy-ph1-sld8.o
diff --git a/arch/arm/mach-uniphier/umc/Makefile b/arch/arm/mach-uniphier/umc/Makefile
deleted file mode 100644 (file)
index 89b2dec..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-#
-# SPDX-License-Identifier:     GPL-2.0+
-#
-
-obj-$(CONFIG_ARCH_UNIPHIER_PH1_LD4)    += umc-ph1-ld4.o
-obj-$(CONFIG_ARCH_UNIPHIER_PH1_PRO4)   += umc-ph1-pro4.o
-obj-$(CONFIG_ARCH_UNIPHIER_PH1_SLD8)   += umc-ph1-sld8.o