OSDN Git Service

MIPS: Move device-trees into vendor sub-directories
authorAndrew Bresticker <abrestic@chromium.org>
Thu, 25 Dec 2014 17:48:57 +0000 (09:48 -0800)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 1 Apr 2015 15:21:34 +0000 (17:21 +0200)
Move the MIPS device-trees into the appropriate vendor sub-directories.

Signed-off-by: Andrew Bresticker <abrestic@chromium.org>
Tested-by: Kevin Cernekee <cernekee@gmail.com>
Cc: f.fainelli@gmail.com
Cc: jaedon.shin@gmail.com
Cc: tglx@linutronix.de
Cc: jason@lakedaemon.net
Cc: jogo@openwrt.org
Cc: arnd@arndb.de
Cc: computersforpeace@gmail.com
Cc: linux-mips@linux-mips.org
Cc: devicetree@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/8835/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
27 files changed:
arch/mips/Makefile
arch/mips/boot/dts/Makefile
arch/mips/boot/dts/brcm/Makefile [new file with mode: 0644]
arch/mips/boot/dts/brcm/bcm3384.dtsi [moved from arch/mips/boot/dts/bcm3384.dtsi with 100% similarity]
arch/mips/boot/dts/brcm/bcm93384wvg.dts [moved from arch/mips/boot/dts/bcm93384wvg.dts with 100% similarity]
arch/mips/boot/dts/cavium-octeon/Makefile [new file with mode: 0644]
arch/mips/boot/dts/cavium-octeon/octeon_3xxx.dts [moved from arch/mips/boot/dts/octeon_3xxx.dts with 100% similarity]
arch/mips/boot/dts/cavium-octeon/octeon_68xx.dts [moved from arch/mips/boot/dts/octeon_68xx.dts with 100% similarity]
arch/mips/boot/dts/lantiq/Makefile [new file with mode: 0644]
arch/mips/boot/dts/lantiq/danube.dtsi [moved from arch/mips/boot/dts/danube.dtsi with 100% similarity]
arch/mips/boot/dts/lantiq/easy50712.dts [moved from arch/mips/boot/dts/easy50712.dts with 100% similarity]
arch/mips/boot/dts/mti/Makefile [new file with mode: 0644]
arch/mips/boot/dts/mti/sead3.dts [moved from arch/mips/boot/dts/sead3.dts with 100% similarity]
arch/mips/boot/dts/netlogic/Makefile [new file with mode: 0644]
arch/mips/boot/dts/netlogic/xlp_evp.dts [moved from arch/mips/boot/dts/xlp_evp.dts with 100% similarity]
arch/mips/boot/dts/netlogic/xlp_fvp.dts [moved from arch/mips/boot/dts/xlp_fvp.dts with 100% similarity]
arch/mips/boot/dts/netlogic/xlp_gvp.dts [moved from arch/mips/boot/dts/xlp_gvp.dts with 100% similarity]
arch/mips/boot/dts/netlogic/xlp_svp.dts [moved from arch/mips/boot/dts/xlp_svp.dts with 100% similarity]
arch/mips/boot/dts/ralink/Makefile [new file with mode: 0644]
arch/mips/boot/dts/ralink/mt7620a.dtsi [moved from arch/mips/boot/dts/mt7620a.dtsi with 100% similarity]
arch/mips/boot/dts/ralink/mt7620a_eval.dts [moved from arch/mips/boot/dts/mt7620a_eval.dts with 100% similarity]
arch/mips/boot/dts/ralink/rt2880.dtsi [moved from arch/mips/boot/dts/rt2880.dtsi with 100% similarity]
arch/mips/boot/dts/ralink/rt2880_eval.dts [moved from arch/mips/boot/dts/rt2880_eval.dts with 100% similarity]
arch/mips/boot/dts/ralink/rt3050.dtsi [moved from arch/mips/boot/dts/rt3050.dtsi with 100% similarity]
arch/mips/boot/dts/ralink/rt3052_eval.dts [moved from arch/mips/boot/dts/rt3052_eval.dts with 100% similarity]
arch/mips/boot/dts/ralink/rt3883.dtsi [moved from arch/mips/boot/dts/rt3883.dtsi with 100% similarity]
arch/mips/boot/dts/ralink/rt3883_eval.dts [moved from arch/mips/boot/dts/rt3883_eval.dts with 100% similarity]

index 8f57fc7..fb14e37 100644 (file)
@@ -365,7 +365,7 @@ core-$(CONFIG_BUILTIN_DTB) += arch/mips/boot/dts/
 
 PHONY += dtbs
 dtbs: scripts
-       $(Q)$(MAKE) $(build)=arch/mips/boot/dts dtbs
+       $(Q)$(MAKE) $(build)=arch/mips/boot/dts
 
 archprepare:
 ifdef CONFIG_MIPS32_N32
index 4f49fa4..5d95e4b 100644 (file)
@@ -1,21 +1,12 @@
-dtb-$(CONFIG_BCM3384)                  += bcm93384wvg.dtb
-dtb-$(CONFIG_CAVIUM_OCTEON_SOC)                += octeon_3xxx.dtb octeon_68xx.dtb
-dtb-$(CONFIG_DT_EASY50712)             += easy50712.dtb
-dtb-$(CONFIG_DT_XLP_EVP)               += xlp_evp.dtb
-dtb-$(CONFIG_DT_XLP_SVP)               += xlp_svp.dtb
-dtb-$(CONFIG_DT_XLP_FVP)               += xlp_fvp.dtb
-dtb-$(CONFIG_DT_XLP_GVP)               += xlp_gvp.dtb
-dtb-$(CONFIG_DTB_RT2880_EVAL)          += rt2880_eval.dtb
-dtb-$(CONFIG_DTB_RT305X_EVAL)          += rt3052_eval.dtb
-dtb-$(CONFIG_DTB_RT3883_EVAL)          += rt3883_eval.dtb
-dtb-$(CONFIG_DTB_MT7620A_EVAL)         += mt7620a_eval.dtb
-dtb-$(CONFIG_MIPS_SEAD3)               += sead3.dtb
-
-obj-y          += $(patsubst %.dtb, %.dtb.o, $(dtb-y))
-
-targets                += dtbs
-targets                += $(dtb-y)
-
-dtbs: $(addprefix $(obj)/, $(dtb-y))
-
-clean-files    += *.dtb *.dtb.S
+dts-dirs       += brcm
+dts-dirs       += cavium-octeon
+dts-dirs       += lantiq
+dts-dirs       += mti
+dts-dirs       += netlogic
+dts-dirs       += ralink
+
+obj-y          := $(addsuffix /, $(dts-dirs))
+
+always         := $(dtb-y)
+subdir-y       := $(dts-dirs)
+clean-files    := *.dtb *.dtb.S
diff --git a/arch/mips/boot/dts/brcm/Makefile b/arch/mips/boot/dts/brcm/Makefile
new file mode 100644 (file)
index 0000000..a353d4e
--- /dev/null
@@ -0,0 +1,9 @@
+dtb-$(CONFIG_BCM3384)          += bcm93384wvg.dtb
+
+obj-y                          += $(patsubst %.dtb, %.dtb.o, $(dtb-y))
+
+# Force kbuild to make empty built-in.o if necessary
+obj-                           += dummy.o
+
+always                         := $(dtb-y)
+clean-files                    := *.dtb *.dtb.S
diff --git a/arch/mips/boot/dts/cavium-octeon/Makefile b/arch/mips/boot/dts/cavium-octeon/Makefile
new file mode 100644 (file)
index 0000000..5b99c40
--- /dev/null
@@ -0,0 +1,9 @@
+dtb-$(CONFIG_CAVIUM_OCTEON_SOC)        += octeon_3xxx.dtb octeon_68xx.dtb
+
+obj-y                          += $(patsubst %.dtb, %.dtb.o, $(dtb-y))
+
+# Force kbuild to make empty built-in.o if necessary
+obj-                           += dummy.o
+
+always                         := $(dtb-y)
+clean-files                    := *.dtb *.dtb.S
diff --git a/arch/mips/boot/dts/lantiq/Makefile b/arch/mips/boot/dts/lantiq/Makefile
new file mode 100644 (file)
index 0000000..0906c62
--- /dev/null
@@ -0,0 +1,9 @@
+dtb-$(CONFIG_DT_EASY50712)     += easy50712.dtb
+
+obj-y                          += $(patsubst %.dtb, %.dtb.o, $(dtb-y))
+
+# Force kbuild to make empty built-in.o if necessary
+obj-                           += dummy.o
+
+always                         := $(dtb-y)
+clean-files                    := *.dtb *.dtb.S
diff --git a/arch/mips/boot/dts/mti/Makefile b/arch/mips/boot/dts/mti/Makefile
new file mode 100644 (file)
index 0000000..ef1f3db
--- /dev/null
@@ -0,0 +1,9 @@
+dtb-$(CONFIG_MIPS_SEAD3)       += sead3.dtb
+
+obj-y                          += $(patsubst %.dtb, %.dtb.o, $(dtb-y))
+
+# Force kbuild to make empty built-in.o if necessary
+obj-                           += dummy.o
+
+always                         := $(dtb-y)
+clean-files                    := *.dtb *.dtb.S
diff --git a/arch/mips/boot/dts/netlogic/Makefile b/arch/mips/boot/dts/netlogic/Makefile
new file mode 100644 (file)
index 0000000..e126cd3
--- /dev/null
@@ -0,0 +1,12 @@
+dtb-$(CONFIG_DT_XLP_EVP)       += xlp_evp.dtb
+dtb-$(CONFIG_DT_XLP_SVP)       += xlp_svp.dtb
+dtb-$(CONFIG_DT_XLP_FVP)       += xlp_fvp.dtb
+dtb-$(CONFIG_DT_XLP_GVP)       += xlp_gvp.dtb
+
+obj-y                          += $(patsubst %.dtb, %.dtb.o, $(dtb-y))
+
+# Force kbuild to make empty built-in.o if necessary
+obj-                           += dummy.o
+
+always                         := $(dtb-y)
+clean-files                    := *.dtb *.dtb.S
diff --git a/arch/mips/boot/dts/ralink/Makefile b/arch/mips/boot/dts/ralink/Makefile
new file mode 100644 (file)
index 0000000..2a72259
--- /dev/null
@@ -0,0 +1,12 @@
+dtb-$(CONFIG_DTB_RT2880_EVAL)  += rt2880_eval.dtb
+dtb-$(CONFIG_DTB_RT305X_EVAL)  += rt3052_eval.dtb
+dtb-$(CONFIG_DTB_RT3883_EVAL)  += rt3883_eval.dtb
+dtb-$(CONFIG_DTB_MT7620A_EVAL) += mt7620a_eval.dtb
+
+obj-y                          += $(patsubst %.dtb, %.dtb.o, $(dtb-y))
+
+# Force kbuild to make empty built-in.o if necessary
+obj-                           += dummy.o
+
+always                         := $(dtb-y)
+clean-files                    := *.dtb *.dtb.S