Skip to content

Commit

Permalink
Removed RecoveryDTBO
Browse files Browse the repository at this point in the history
This will allow for devices different from T220 like T225 to boot twrp using the same recovery image.
  • Loading branch information
DevZillion committed Jun 2, 2023
1 parent 0a2c29b commit cc8686e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions BoardConfig.mk
Expand Up @@ -41,9 +41,7 @@ TARGET_BOARD_PLATFORM := mt8768t
# Kernel
TARGET_PREBUILT_KERNEL := $(DEVICE_PATH)/prebuilt/KernelImage
TARGET_PREBUILT_DTB := $(DEVICE_PATH)/prebuilt/KernelDTB
BOARD_PREBUILT_DTBOIMAGE := $(DEVICE_PATH)/prebuilt/RecoveryDTBO
BOARD_INCLUDE_DTB_IN_BOOTIMG := true
BOARD_INCLUDE_RECOVERY_DTBO := true
TARGET_KERNEL_ARCH := arm64

# Boot
Expand All @@ -68,8 +66,7 @@ BOARD_MKBOOTIMG_ARGS := \
--pagesize $(BOARD_KERNEL_PAGESIZE) \
--board "SRPUA15A001" \
--dtb $(TARGET_PREBUILT_DTB) \
--dtb_offset $(BOARD_DTB_OFFSET) \
--recovery_dtbo $(BOARD_PREBUILT_DTBOIMAGE)
--dtb_offset $(BOARD_DTB_OFFSET)

BOARD_CUSTOM_BOOTIMG_MK := $(DEVICE_PATH)/bootimg.mk

Expand Down
Binary file removed prebuilt/RecoveryDTBO
Binary file not shown.

0 comments on commit cc8686e

Please sign in to comment.