Commit d18926af30d111362c6262c356feb768d7a367a3

Authored by Simon Glass
Committed by Tom Rini
1 parent 597a8b2c68

fdt: Rename the DEV_TREE_BIN Makefile flag to to EXT_DTB

This seems like a better name. This is a patch-up to the earlier commit
63b4b5b, and also removes a redundant Makefile change.

Signed-off-by: Simon Glass <sjg@chromium.org>

Showing 3 changed files with 5 additions and 5 deletions Side-by-side Diff

... ... @@ -832,7 +832,7 @@
832 832 MKIMAGEFLAGS_u-boot.pbl = -n $(srctree)/$(CONFIG_SYS_FSL_PBL_RCW:"%"=%) \
833 833 -R $(srctree)/$(CONFIG_SYS_FSL_PBL_PBI:"%"=%) -T pblimage
834 834  
835   -u-boot.img u-boot.kwb u-boot.pbl: u-boot$(if $(CONFIG_OF_SEPARATE),-dtb,).bin FORCE
  835 +u-boot.img u-boot.kwb u-boot.pbl: u-boot.bin FORCE
836 836 $(call if_changed,mkimage)
837 837  
838 838 MKIMAGEFLAGS_u-boot-dtb.img = $(MKIMAGEFLAGS_u-boot.img)
doc/README.fdt-control
... ... @@ -143,9 +143,9 @@
143 143 You cannot use more than one of these options at the same time.
144 144  
145 145 To use a device tree file that you have compiled yourself, pass
146   -DEV_TREE_BIN=<filename> to 'make', as in:
  146 +EXT_DTB=<filename> to 'make', as in:
147 147  
148   - make DEV_TREE_BIN=boot/am335x-boneblack-pubkey.dtb
  148 + make EXT_DTB=boot/am335x-boneblack-pubkey.dtb
149 149  
150 150 Then U-Boot will copy that file to u-boot.dtb, put it in the .img file
151 151 if used, and u-boot-dtb.bin.
... ... @@ -12,8 +12,8 @@
12 12 DEVICE_TREE := unset
13 13 endif
14 14  
15   -ifneq ($(DEV_TREE_BIN),)
16   -DTB := $(DEV_TREE_BIN)
  15 +ifneq ($(EXT_DTB),)
  16 +DTB := $(EXT_DTB)
17 17 else
18 18 DTB := arch/$(ARCH)/dts/$(DEVICE_TREE).dtb
19 19 endif