mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-18 02:38:56 +00:00
e6e2c15d48
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>
11 lines
177 B
Makefile
11 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
|