mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-20 00:48:52 +09:00
![Thomas Chou](/assets/img/avatar_default.png)
This patch adds device tree control of U-Boot to nios2 boards. The example dts is taken from Linux kernel. Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Marek Vasut <marex@denx.de>
12 lines
177 B
Makefile
12 lines
177 B
Makefile
dtb-y += $(CONFIG_DEFAULT_DEVICE_TREE:"%"=%).dtb
|
|
|
|
targets += $(dtb-y)
|
|
|
|
DTC_FLAGS += -R 4 -p 0x1000
|
|
|
|
PHONY += dtbs
|
|
dtbs: $(addprefix $(obj)/, $(dtb-y))
|
|
@:
|
|
|
|
clean-files := *.dtb
|