summaryrefslogtreecommitdiff
Diffstat
-rw-r--r--BoardConfig.mk9
-rw-r--r--Kernel.mk4
2 files changed, 11 insertions, 2 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
index e5bed97..68d83b4 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -101,6 +101,12 @@ BOARD_ODMIMAGE_PARTITION_SIZE := 134217728
BOARD_PRODUCTIMAGE_PARTITION_SIZE := 134217728
endif
+# DTBO partition definitions
+BOARD_PREBUILT_DTBOIMAGE := device/amlogic/curie-kernel/dtbo.img
+BOARD_DTBOIMG_PARTITION_SIZE := 8388608
+
+BOARD_KERNEL_CMDLINE += androidboot.dtbo_idx=0
+
ifneq ($(USE_USB_AS_HOST),true)
BOARD_KERNEL_CMDLINE += --cmdline "otg_device=1"
endif
@@ -157,3 +163,6 @@ BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true
DEVICE_MANIFEST_FILE := device/amlogic/curie/manifest.xml
#DEVICE_MATRIX_FILE := device/amlogic/common/compatibility_matrix.xml
+
+BOARD_BOOTIMG_HEADER_VERSION := 1
+BOARD_INCLUDE_RECOVERY_DTBO := true