summaryrefslogtreecommitdiffstats
path: root/arch/mips/netlogic/Kconfig
diff options
context:
space:
mode:
authorJayachandran C2012-07-13 18:23:22 +0200
committerJohn Crispin2012-08-22 23:46:37 +0200
commit2f6528e15a4592c762a690c1320518368593ae75 (patch)
tree6fd1aafd2586875f2905398a1e0ab8f5c571142a /arch/mips/netlogic/Kconfig
parentMIPS: Netlogic: Move serial ports to device tree (diff)
downloadkernel-qcow2-linux-2f6528e15a4592c762a690c1320518368593ae75.tar.gz
kernel-qcow2-linux-2f6528e15a4592c762a690c1320518368593ae75.tar.xz
kernel-qcow2-linux-2f6528e15a4592c762a690c1320518368593ae75.zip
MIPS: Netlogic: Add support for built in DTB
Provide a config option to embed a device tree for XLP evaluation boards. This DTB will be used if the firmware does not pass in a device tree pointer. Signed-off-by: Jayachandran C <jayachandranc@netlogicmicro.com> Patchwork: http://patchwork.linux-mips.org/patch/4103/ Signed-off-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'arch/mips/netlogic/Kconfig')
-rw-r--r--arch/mips/netlogic/Kconfig15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/mips/netlogic/Kconfig b/arch/mips/netlogic/Kconfig
index 75bec44b5856..8059eb76f8eb 100644
--- a/arch/mips/netlogic/Kconfig
+++ b/arch/mips/netlogic/Kconfig
@@ -1,2 +1,17 @@
+if NLM_XLP_BOARD || NLM_XLR_BOARD
+
+if NLM_XLP_BOARD
+config DT_XLP_EVP
+ bool "Built-in device tree for XLP EVP/SVP boards"
+ default y
+ help
+ Add an FDT blob for XLP EVP and SVP boards into the kernel.
+ This DTB will be used if the firmware does not pass in a DTB
+ pointer to the kernel. The corresponding DTS file is at
+ arch/mips/netlogic/dts/xlp_evp.dts
+endif
+
config NLM_COMMON
bool
+
+endif