Merge "target: msm8952: Add target support for sdm429 and sdm439"
diff --git a/platform/msm_shared/avb/VerifiedBoot.c b/platform/msm_shared/avb/VerifiedBoot.c
index ec455d3..a23e15d 100644
--- a/platform/msm_shared/avb/VerifiedBoot.c
+++ b/platform/msm_shared/avb/VerifiedBoot.c
@@ -651,13 +651,13 @@
if (ffbm_mode_string[0] != '\0' && !target_build_variant_user()) {
dprintf(DEBUG, "Device will boot into FFBM mode\n");
} else {
- //display_bootverify_menu(DISPLAY_MENU_ORANGE);
- //if (Status == EFI_SUCCESS) {
- // wait_for_users_action();
- //} else {
+ display_bootverify_menu(DISPLAY_MENU_ORANGE);
+ if (Status == EFI_SUCCESS) {
+ wait_for_users_action();
+ } else {
dprintf(INFO, "Device is unlocked, Skipping boot verification\n");
udelay(5000000);
- //}
+ }
}
break;
default:
diff --git a/platform/msm_shared/mmc_wrapper.c b/platform/msm_shared/mmc_wrapper.c
index 495767a..f25a633 100755
--- a/platform/msm_shared/mmc_wrapper.c
+++ b/platform/msm_shared/mmc_wrapper.c
@@ -675,6 +675,7 @@
*/
if (partition_read_only(index) && size < card->wp_grp_size)
{
+ dprintf(CRITICAL, "WARNING: Size of partition is less than 1 Write Protect GRP size\n");
/* Write protect api takes the size in bytes, convert size to bytes */
size = card->wp_grp_size * block_size;
}