-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Jayachandran C
authored and
John Crispin
committed
Aug 22, 2012
1 parent
a9f1682
commit 2f6528e
Showing
5 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
obj-$(CONFIG_NLM_COMMON) += common/ | ||
obj-$(CONFIG_CPU_XLR) += xlr/ | ||
obj-$(CONFIG_CPU_XLP) += xlp/ | ||
obj-$(CONFIG_CPU_XLP) += dts/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
obj-$(CONFIG_DT_XLP_EVP) := xlp_evp.dtb.o | ||
|
||
$(obj)/%.dtb: $(obj)/%.dts | ||
$(call if_changed,dtc) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters