Prepare sub-folder for device-tree files. Make support for device-tree on MIPS available in Kbuild/Kconfig. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Signed-off-by: Purna Chandra Mandal <purna.mandal@microchip.com>master
parent
e92d9124f8
commit
0fc13a9093
@ -0,0 +1 @@ |
|||||||
|
*.dtb |
@ -0,0 +1,16 @@ |
|||||||
|
#
|
||||||
|
# SPDX-License-Identifier: GPL-2.0+
|
||||||
|
#
|
||||||
|
|
||||||
|
dtb-y +=
|
||||||
|
|
||||||
|
targets += $(dtb-y)
|
||||||
|
|
||||||
|
# Add any required device tree compiler flags here
|
||||||
|
DTC_FLAGS +=
|
||||||
|
|
||||||
|
PHONY += dtbs
|
||||||
|
dtbs: $(addprefix $(obj)/, $(dtb-y)) |
||||||
|
@:
|
||||||
|
|
||||||
|
clean-files := *.dtb
|
@ -0,0 +1 @@ |
|||||||
|
../../../../include/dt-bindings |
@ -0,0 +1,23 @@ |
|||||||
|
/* |
||||||
|
* Skeleton device tree; the bare minimum needed to boot; just include and |
||||||
|
* add a compatible value. The bootloader will typically populate the memory |
||||||
|
* node. |
||||||
|
* |
||||||
|
* SPDX-License-Identifier: GPL-2.0+ |
||||||
|
*/ |
||||||
|
|
||||||
|
/ { |
||||||
|
#address-cells = <1>; |
||||||
|
#size-cells = <1>; |
||||||
|
|
||||||
|
chosen { |
||||||
|
}; |
||||||
|
|
||||||
|
aliases { |
||||||
|
}; |
||||||
|
|
||||||
|
memory { |
||||||
|
device_type = "memory"; |
||||||
|
reg = <0 0>; |
||||||
|
}; |
||||||
|
}; |
Loading…
Reference in new issue