diff options
author | Andrew Bresticker <abrestic@chromium.org> | 2014-08-21 16:04:25 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-09-22 07:35:50 -0400 |
commit | 36094619e419c306dc08d83f043bc9937cc63e03 (patch) | |
tree | 05a23c4a221fb929626d1a17dce4eb67462620b3 | |
parent | f262b5f2d5820799fd58ae08eee4ec3fc97686ab (diff) |
MIPS: Netlogic: Move device-trees to arch/mips/boot/dts/
Move the Netlogic XLP 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/7560/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r-- | arch/mips/boot/dts/Makefile | 4 | ||||
-rw-r--r-- | arch/mips/boot/dts/xlp_evp.dts (renamed from arch/mips/netlogic/dts/xlp_evp.dts) | 0 | ||||
-rw-r--r-- | arch/mips/boot/dts/xlp_fvp.dts (renamed from arch/mips/netlogic/dts/xlp_fvp.dts) | 0 | ||||
-rw-r--r-- | arch/mips/boot/dts/xlp_gvp.dts (renamed from arch/mips/netlogic/dts/xlp_gvp.dts) | 0 | ||||
-rw-r--r-- | arch/mips/boot/dts/xlp_svp.dts (renamed from arch/mips/netlogic/dts/xlp_svp.dts) | 0 | ||||
-rw-r--r-- | arch/mips/netlogic/Kconfig | 4 | ||||
-rw-r--r-- | arch/mips/netlogic/Makefile | 1 | ||||
-rw-r--r-- | arch/mips/netlogic/dts/Makefile | 4 |
8 files changed, 8 insertions, 5 deletions
diff --git a/arch/mips/boot/dts/Makefile b/arch/mips/boot/dts/Makefile index 8df3d3ef0a85..1638a3837caa 100644 --- a/arch/mips/boot/dts/Makefile +++ b/arch/mips/boot/dts/Makefile | |||
@@ -1,5 +1,9 @@ | |||
1 | dtb-$(CONFIG_CAVIUM_OCTEON_SOC) += octeon_3xxx.dtb octeon_68xx.dtb | 1 | dtb-$(CONFIG_CAVIUM_OCTEON_SOC) += octeon_3xxx.dtb octeon_68xx.dtb |
2 | dtb-$(CONFIG_DT_EASY50712) += easy50712.dtb | 2 | dtb-$(CONFIG_DT_EASY50712) += easy50712.dtb |
3 | dtb-$(CONFIG_DT_XLP_EVP) += xlp_evp.dtb | ||
4 | dtb-$(CONFIG_DT_XLP_SVP) += xlp_svp.dtb | ||
5 | dtb-$(CONFIG_DT_XLP_FVP) += xlp_fvp.dtb | ||
6 | dtb-$(CONFIG_DT_XLP_GVP) += xlp_gvp.dtb | ||
3 | dtb-$(CONFIG_MIPS_SEAD3) += sead3.dtb | 7 | dtb-$(CONFIG_MIPS_SEAD3) += sead3.dtb |
4 | 8 | ||
5 | obj-y += $(patsubst %.dtb, %.dtb.o, $(dtb-y)) | 9 | obj-y += $(patsubst %.dtb, %.dtb.o, $(dtb-y)) |
diff --git a/arch/mips/netlogic/dts/xlp_evp.dts b/arch/mips/boot/dts/xlp_evp.dts index 89ad04808c02..89ad04808c02 100644 --- a/arch/mips/netlogic/dts/xlp_evp.dts +++ b/arch/mips/boot/dts/xlp_evp.dts | |||
diff --git a/arch/mips/netlogic/dts/xlp_fvp.dts b/arch/mips/boot/dts/xlp_fvp.dts index 63e62b7bd758..63e62b7bd758 100644 --- a/arch/mips/netlogic/dts/xlp_fvp.dts +++ b/arch/mips/boot/dts/xlp_fvp.dts | |||
diff --git a/arch/mips/netlogic/dts/xlp_gvp.dts b/arch/mips/boot/dts/xlp_gvp.dts index bb4ecd1d47fc..bb4ecd1d47fc 100644 --- a/arch/mips/netlogic/dts/xlp_gvp.dts +++ b/arch/mips/boot/dts/xlp_gvp.dts | |||
diff --git a/arch/mips/netlogic/dts/xlp_svp.dts b/arch/mips/boot/dts/xlp_svp.dts index 1ebd00edaacc..1ebd00edaacc 100644 --- a/arch/mips/netlogic/dts/xlp_svp.dts +++ b/arch/mips/boot/dts/xlp_svp.dts | |||
diff --git a/arch/mips/netlogic/Kconfig b/arch/mips/netlogic/Kconfig index 4eb683aef7d7..0823321c10e0 100644 --- a/arch/mips/netlogic/Kconfig +++ b/arch/mips/netlogic/Kconfig | |||
@@ -4,6 +4,7 @@ if NLM_XLP_BOARD | |||
4 | config DT_XLP_EVP | 4 | config DT_XLP_EVP |
5 | bool "Built-in device tree for XLP EVP boards" | 5 | bool "Built-in device tree for XLP EVP boards" |
6 | default y | 6 | default y |
7 | select BUILTIN_DTB | ||
7 | help | 8 | help |
8 | Add an FDT blob for XLP EVP boards into the kernel. | 9 | Add an FDT blob for XLP EVP boards into the kernel. |
9 | This DTB will be used if the firmware does not pass in a DTB | 10 | This DTB will be used if the firmware does not pass in a DTB |
@@ -13,6 +14,7 @@ config DT_XLP_EVP | |||
13 | config DT_XLP_SVP | 14 | config DT_XLP_SVP |
14 | bool "Built-in device tree for XLP SVP boards" | 15 | bool "Built-in device tree for XLP SVP boards" |
15 | default y | 16 | default y |
17 | select BUILTIN_DTB | ||
16 | help | 18 | help |
17 | Add an FDT blob for XLP VP boards into the kernel. | 19 | Add an FDT blob for XLP VP boards into the kernel. |
18 | This DTB will be used if the firmware does not pass in a DTB | 20 | This DTB will be used if the firmware does not pass in a DTB |
@@ -22,6 +24,7 @@ config DT_XLP_SVP | |||
22 | config DT_XLP_FVP | 24 | config DT_XLP_FVP |
23 | bool "Built-in device tree for XLP FVP boards" | 25 | bool "Built-in device tree for XLP FVP boards" |
24 | default y | 26 | default y |
27 | select BUILTIN_DTB | ||
25 | help | 28 | help |
26 | Add an FDT blob for XLP FVP board into the kernel. | 29 | Add an FDT blob for XLP FVP board into the kernel. |
27 | This DTB will be used if the firmware does not pass in a DTB | 30 | This DTB will be used if the firmware does not pass in a DTB |
@@ -31,6 +34,7 @@ config DT_XLP_FVP | |||
31 | config DT_XLP_GVP | 34 | config DT_XLP_GVP |
32 | bool "Built-in device tree for XLP GVP boards" | 35 | bool "Built-in device tree for XLP GVP boards" |
33 | default y | 36 | default y |
37 | select BUILTIN_DTB | ||
34 | help | 38 | help |
35 | Add an FDT blob for XLP GVP board into the kernel. | 39 | Add an FDT blob for XLP GVP board into the kernel. |
36 | This DTB will be used if the firmware does not pass in a DTB | 40 | This DTB will be used if the firmware does not pass in a DTB |
diff --git a/arch/mips/netlogic/Makefile b/arch/mips/netlogic/Makefile index 7602d1386614..36d169b2ca6d 100644 --- a/arch/mips/netlogic/Makefile +++ b/arch/mips/netlogic/Makefile | |||
@@ -1,4 +1,3 @@ | |||
1 | obj-$(CONFIG_NLM_COMMON) += common/ | 1 | obj-$(CONFIG_NLM_COMMON) += common/ |
2 | obj-$(CONFIG_CPU_XLR) += xlr/ | 2 | obj-$(CONFIG_CPU_XLR) += xlr/ |
3 | obj-$(CONFIG_CPU_XLP) += xlp/ | 3 | obj-$(CONFIG_CPU_XLP) += xlp/ |
4 | obj-$(CONFIG_CPU_XLP) += dts/ | ||
diff --git a/arch/mips/netlogic/dts/Makefile b/arch/mips/netlogic/dts/Makefile deleted file mode 100644 index 25c8e873ee25..000000000000 --- a/arch/mips/netlogic/dts/Makefile +++ /dev/null | |||
@@ -1,4 +0,0 @@ | |||
1 | obj-$(CONFIG_DT_XLP_EVP) := xlp_evp.dtb.o | ||
2 | obj-$(CONFIG_DT_XLP_SVP) += xlp_svp.dtb.o | ||
3 | obj-$(CONFIG_DT_XLP_FVP) += xlp_fvp.dtb.o | ||
4 | obj-$(CONFIG_DT_XLP_GVP) += xlp_gvp.dtb.o | ||