cmd: Add dtimg command
dtimg command allows user to work with Android DTB/DTBO image format.
Such as, getting the address of desired DTB/DTBO file, printing the dump
of the image in U-Boot shell, etc.
This command is needed to provide Android boot with new Android DT image
format further.
Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
diff --git a/common/Makefile b/common/Makefile
index 7100541..7473b85 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -108,6 +108,8 @@
obj-y += memsize.o
obj-y += stdio.o
+obj-$(CONFIG_CMD_DTIMG) += image-android-dt.o
+
ifdef CONFIG_CMD_EEPROM_LAYOUT
obj-y += eeprom/eeprom_field.o eeprom/eeprom_layout.o
endif