diff --git a/cmd/amlogic/cmd_avb.c b/cmd/amlogic/cmd_avb.c
index 948f7ed..df1b861 100644
--- a/cmd/amlogic/cmd_avb.c
+++ b/cmd/amlogic/cmd_avb.c
@@ -381,13 +381,10 @@
     printf("ab_suffix is %s\n", ab_suffix);
 
     AvbSlotVerifyFlags flags = AVB_SLOT_VERIFY_FLAGS_NONE;
-    char *upgradestep = NULL;
 
     avb_init();
 
-    upgradestep = env_get("upgrade_step");
-
-    if (is_device_unlocked() || !strcmp(upgradestep, "3"))
+    if (is_device_unlocked())
         flags |= AVB_SLOT_VERIFY_FLAGS_ALLOW_VERIFICATION_ERROR;
 
     if (!strcmp(ab_suffix, "")) {
@@ -412,9 +409,6 @@
             flags,
             AVB_HASHTREE_ERROR_MODE_RESTART_AND_INVALIDATE, out_data);
 
-    if (!strcmp(upgradestep, "3"))
-        result = AVB_SLOT_VERIFY_RESULT_OK;
-
     return result;
 }
 
diff --git a/cmd/amlogic/cmd_bcb.c b/cmd/amlogic/cmd_bcb.c
index 7315dda..bbe12bf 100644
--- a/cmd/amlogic/cmd_bcb.c
+++ b/cmd/amlogic/cmd_bcb.c
@@ -44,21 +44,6 @@
     char reserved[192];
 };
 
-
-static int clear_misc_partition(char *clearbuf, int size)
-{
-    char *partition = "misc";
-
-    memset(clearbuf, 0, size);
-    if (store_write((const char *)partition,
-        0, size, (unsigned char *)clearbuf) < 0) {
-        printf("failed to clear %s.\n", partition);
-        return -1;
-    }
-
-    return 0;
-}
-
 static int do_RunBcbCommand(
     cmd_tbl_t * cmdtp,
     int flag,
@@ -174,25 +159,6 @@
         return 0;
     }
 
-    if (!memcmp(command_mark, command, strlen(command_mark))) {
-        printf("%s\n", recovery);
-        if (run_command((char *)recovery, 0) < 0) {
-            printf("run_command for cmd:%s failed.\n", recovery);
-            goto ERR;
-        }
-        printf("run command successful.\n");
-
-        if (clear_misc_partition(clearbuf, sizeof(clearbuf)) < 0) {
-            printf("clear misc partition failed.\n");
-            goto ERR;
-        } else {
-            printf("clear misc partition successful.\n");
-        }
-    } else {
-        printf("command mark(%s) not match %s,don't execute.\n",
-            command_mark, command);
-    }
-
     return 0;
 
  ERR: