diff options
author | Andrew Bresticker <abrestic@chromium.org> | 2014-08-21 16:04:26 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-09-22 07:35:50 -0400 |
commit | 011eeece0bb2e1b65b2d2fd618067425e8ccdbb4 (patch) | |
tree | a38ac1e63ad8f5972494c342af9ef05597bd668c /arch/mips | |
parent | 36094619e419c306dc08d83f043bc9937cc63e03 (diff) |
MIPS: ralink: Move device-trees to arch/mips/boot/dts/
Move the Ralink device-trees to arch/mips/boot/dts/ and update the
Makefiles accordingly. A built-in device-tree is optional, so select
BUILTIN_DTB when it is requested.
Signed-off-by: Andrew Bresticker <abrestic@chromium.org>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: Kumar Gala <galak@codeaurora.org>
Cc: James Hogan <james.hogan@imgtec.com>
Cc: Paul Burton <paul.burton@imgtec.com>
Cc: David Daney <david.daney@cavium.com>
Cc: John Crispin <blogic@openwrt.org>
Cc: Jayachandran C <jchandra@broadcom.com>
Cc: Qais Yousef <qais.yousef@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Cc: devicetree@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/7561/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/boot/dts/Makefile | 4 | ||||
-rw-r--r-- | arch/mips/boot/dts/mt7620a.dtsi (renamed from arch/mips/ralink/dts/mt7620a.dtsi) | 0 | ||||
-rw-r--r-- | arch/mips/boot/dts/mt7620a_eval.dts (renamed from arch/mips/ralink/dts/mt7620a_eval.dts) | 0 | ||||
-rw-r--r-- | arch/mips/boot/dts/rt2880.dtsi (renamed from arch/mips/ralink/dts/rt2880.dtsi) | 0 | ||||
-rw-r--r-- | arch/mips/boot/dts/rt2880_eval.dts (renamed from arch/mips/ralink/dts/rt2880_eval.dts) | 0 | ||||
-rw-r--r-- | arch/mips/boot/dts/rt3050.dtsi (renamed from arch/mips/ralink/dts/rt3050.dtsi) | 0 | ||||
-rw-r--r-- | arch/mips/boot/dts/rt3052_eval.dts (renamed from arch/mips/ralink/dts/rt3052_eval.dts) | 0 | ||||
-rw-r--r-- | arch/mips/boot/dts/rt3883.dtsi (renamed from arch/mips/ralink/dts/rt3883.dtsi) | 0 | ||||
-rw-r--r-- | arch/mips/boot/dts/rt3883_eval.dts (renamed from arch/mips/ralink/dts/rt3883_eval.dts) | 0 | ||||
-rw-r--r-- | arch/mips/ralink/Kconfig | 4 | ||||
-rw-r--r-- | arch/mips/ralink/Makefile | 2 | ||||
-rw-r--r-- | arch/mips/ralink/dts/Makefile | 4 |
12 files changed, 8 insertions, 6 deletions
diff --git a/arch/mips/boot/dts/Makefile b/arch/mips/boot/dts/Makefile index 1638a3837caa..ca9c90e2cabf 100644 --- a/arch/mips/boot/dts/Makefile +++ b/arch/mips/boot/dts/Makefile | |||
@@ -4,6 +4,10 @@ dtb-$(CONFIG_DT_XLP_EVP) += xlp_evp.dtb | |||
4 | dtb-$(CONFIG_DT_XLP_SVP) += xlp_svp.dtb | 4 | dtb-$(CONFIG_DT_XLP_SVP) += xlp_svp.dtb |
5 | dtb-$(CONFIG_DT_XLP_FVP) += xlp_fvp.dtb | 5 | dtb-$(CONFIG_DT_XLP_FVP) += xlp_fvp.dtb |
6 | dtb-$(CONFIG_DT_XLP_GVP) += xlp_gvp.dtb | 6 | dtb-$(CONFIG_DT_XLP_GVP) += xlp_gvp.dtb |
7 | dtb-$(CONFIG_DTB_RT2880_EVAL) += rt2880_eval.dtb | ||
8 | dtb-$(CONFIG_DTB_RT305X_EVAL) += rt3052_eval.dtb | ||
9 | dtb-$(CONFIG_DTB_RT3883_EVAL) += rt3883_eval.dtb | ||
10 | dtb-$(CONFIG_DTB_MT7620A_EVAL) += mt7620a_eval.dtb | ||
7 | dtb-$(CONFIG_MIPS_SEAD3) += sead3.dtb | 11 | dtb-$(CONFIG_MIPS_SEAD3) += sead3.dtb |
8 | 12 | ||
9 | obj-y += $(patsubst %.dtb, %.dtb.o, $(dtb-y)) | 13 | obj-y += $(patsubst %.dtb, %.dtb.o, $(dtb-y)) |
diff --git a/arch/mips/ralink/dts/mt7620a.dtsi b/arch/mips/boot/dts/mt7620a.dtsi index 08bf24fefe9f..08bf24fefe9f 100644 --- a/arch/mips/ralink/dts/mt7620a.dtsi +++ b/arch/mips/boot/dts/mt7620a.dtsi | |||
diff --git a/arch/mips/ralink/dts/mt7620a_eval.dts b/arch/mips/boot/dts/mt7620a_eval.dts index 709f58132f5c..709f58132f5c 100644 --- a/arch/mips/ralink/dts/mt7620a_eval.dts +++ b/arch/mips/boot/dts/mt7620a_eval.dts | |||
diff --git a/arch/mips/ralink/dts/rt2880.dtsi b/arch/mips/boot/dts/rt2880.dtsi index 182afde2f2e1..182afde2f2e1 100644 --- a/arch/mips/ralink/dts/rt2880.dtsi +++ b/arch/mips/boot/dts/rt2880.dtsi | |||
diff --git a/arch/mips/ralink/dts/rt2880_eval.dts b/arch/mips/boot/dts/rt2880_eval.dts index 0a685db093d4..0a685db093d4 100644 --- a/arch/mips/ralink/dts/rt2880_eval.dts +++ b/arch/mips/boot/dts/rt2880_eval.dts | |||
diff --git a/arch/mips/ralink/dts/rt3050.dtsi b/arch/mips/boot/dts/rt3050.dtsi index e3203d414fee..e3203d414fee 100644 --- a/arch/mips/ralink/dts/rt3050.dtsi +++ b/arch/mips/boot/dts/rt3050.dtsi | |||
diff --git a/arch/mips/ralink/dts/rt3052_eval.dts b/arch/mips/boot/dts/rt3052_eval.dts index ec9e9a035541..ec9e9a035541 100644 --- a/arch/mips/ralink/dts/rt3052_eval.dts +++ b/arch/mips/boot/dts/rt3052_eval.dts | |||
diff --git a/arch/mips/ralink/dts/rt3883.dtsi b/arch/mips/boot/dts/rt3883.dtsi index 3b131dd0d5ac..3b131dd0d5ac 100644 --- a/arch/mips/ralink/dts/rt3883.dtsi +++ b/arch/mips/boot/dts/rt3883.dtsi | |||
diff --git a/arch/mips/ralink/dts/rt3883_eval.dts b/arch/mips/boot/dts/rt3883_eval.dts index e8df21a5d10d..e8df21a5d10d 100644 --- a/arch/mips/ralink/dts/rt3883_eval.dts +++ b/arch/mips/boot/dts/rt3883_eval.dts | |||
diff --git a/arch/mips/ralink/Kconfig b/arch/mips/ralink/Kconfig index 4a296655f446..77e8a9620e18 100644 --- a/arch/mips/ralink/Kconfig +++ b/arch/mips/ralink/Kconfig | |||
@@ -42,18 +42,22 @@ choice | |||
42 | config DTB_RT2880_EVAL | 42 | config DTB_RT2880_EVAL |
43 | bool "RT2880 eval kit" | 43 | bool "RT2880 eval kit" |
44 | depends on SOC_RT288X | 44 | depends on SOC_RT288X |
45 | select BUILTIN_DTB | ||
45 | 46 | ||
46 | config DTB_RT305X_EVAL | 47 | config DTB_RT305X_EVAL |
47 | bool "RT305x eval kit" | 48 | bool "RT305x eval kit" |
48 | depends on SOC_RT305X | 49 | depends on SOC_RT305X |
50 | select BUILTIN_DTB | ||
49 | 51 | ||
50 | config DTB_RT3883_EVAL | 52 | config DTB_RT3883_EVAL |
51 | bool "RT3883 eval kit" | 53 | bool "RT3883 eval kit" |
52 | depends on SOC_RT3883 | 54 | depends on SOC_RT3883 |
55 | select BUILTIN_DTB | ||
53 | 56 | ||
54 | config DTB_MT7620A_EVAL | 57 | config DTB_MT7620A_EVAL |
55 | bool "MT7620A eval kit" | 58 | bool "MT7620A eval kit" |
56 | depends on SOC_MT7620 | 59 | depends on SOC_MT7620 |
60 | select BUILTIN_DTB | ||
57 | 61 | ||
58 | endchoice | 62 | endchoice |
59 | 63 | ||
diff --git a/arch/mips/ralink/Makefile b/arch/mips/ralink/Makefile index 98ae349827be..2c09c8aa0ae2 100644 --- a/arch/mips/ralink/Makefile +++ b/arch/mips/ralink/Makefile | |||
@@ -16,5 +16,3 @@ obj-$(CONFIG_SOC_RT3883) += rt3883.o | |||
16 | obj-$(CONFIG_SOC_MT7620) += mt7620.o | 16 | obj-$(CONFIG_SOC_MT7620) += mt7620.o |
17 | 17 | ||
18 | obj-$(CONFIG_EARLY_PRINTK) += early_printk.o | 18 | obj-$(CONFIG_EARLY_PRINTK) += early_printk.o |
19 | |||
20 | obj-y += dts/ | ||
diff --git a/arch/mips/ralink/dts/Makefile b/arch/mips/ralink/dts/Makefile deleted file mode 100644 index 18194fa93e80..000000000000 --- a/arch/mips/ralink/dts/Makefile +++ /dev/null | |||
@@ -1,4 +0,0 @@ | |||
1 | obj-$(CONFIG_DTB_RT2880_EVAL) := rt2880_eval.dtb.o | ||
2 | obj-$(CONFIG_DTB_RT305X_EVAL) := rt3052_eval.dtb.o | ||
3 | obj-$(CONFIG_DTB_RT3883_EVAL) := rt3883_eval.dtb.o | ||
4 | obj-$(CONFIG_DTB_MT7620A_EVAL) := mt7620a_eval.dtb.o | ||