Include dtb into boot.img

Android Boot Image v2 allows us to include our dtb files in it. For that
to happen we need to provide the directory with our *.dtb files, and
those will be squashed into single dtb.img file by Android build system
and added to "DTB" area of boot.img (so that DT blobs are concatenated
one after the other). Other way to do so would be to provide previously
generated DTBO image. Let's stick to the first way for now.

Change-Id: I3b6d969c0fa7e921acb9bb441e5a1861b408d1dd
Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 8bd5c5c..853056d 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -87,3 +87,8 @@
   $(warning SGX module (pvrsrvkm.ko) not found, graphics will not work)
   $(warning SGX module search path is: $(LOCAL_KERNEL_HOME))
 endif
+
+# Include *.dtb to boot.img and use Android Boot Image v2
+BOARD_INCLUDE_DTB_IN_BOOTIMG := true
+BOARD_PREBUILT_DTBIMAGE_DIR := $(DTB_DIR)
+BOARD_MKBOOTIMG_ARGS := --header_version 2