uboot-2025: board: keep env after flash FIP

This commit is contained in:
hanwckf
2025-08-21 12:52:37 +08:00
parent 1174f431a6
commit 95f51717eb
4 changed files with 8 additions and 8 deletions

View File

@@ -30,7 +30,7 @@ static const struct data_part_entry mmc_parts[] = {
.write = generic_mmc_write_fip_uda,
#endif
.post_action = UPGRADE_ACTION_CUSTOM,
.do_post_action = generic_invalidate_env,
//.do_post_action = generic_invalidate_env,
},
#if defined(CONFIG_MTK_FIP_SUPPORT) && !defined(CONFIG_MTK_DUAL_FIP)
{
@@ -48,7 +48,7 @@ static const struct data_part_entry mmc_parts[] = {
.validate = generic_validate_bl33,
.write = generic_mmc_update_bl33,
.post_action = UPGRADE_ACTION_CUSTOM,
.do_post_action = generic_invalidate_env,
//.do_post_action = generic_invalidate_env,
},
#endif
{

View File

@@ -24,7 +24,7 @@ static const struct data_part_entry mtd_parts[] = {
.validate = generic_validate_fip,
.write = generic_mtd_write_fip,
.post_action = UPGRADE_ACTION_CUSTOM,
.do_post_action = generic_invalidate_env,
//.do_post_action = generic_invalidate_env,
},
#ifdef CONFIG_MTK_FIP_SUPPORT
{
@@ -42,7 +42,7 @@ static const struct data_part_entry mtd_parts[] = {
.validate = generic_validate_bl33,
.write = generic_mtd_update_bl33,
.post_action = UPGRADE_ACTION_CUSTOM,
.do_post_action = generic_invalidate_env,
//.do_post_action = generic_invalidate_env,
},
#endif
{

View File

@@ -28,7 +28,7 @@ static const struct data_part_entry snor_emmc_parts[] = {
.write = generic_mmc_write_fip,
#endif
.post_action = UPGRADE_ACTION_CUSTOM,
.do_post_action = generic_invalidate_env,
//.do_post_action = generic_invalidate_env,
},
#ifdef CONFIG_MTK_FIP_SUPPORT
{
@@ -54,7 +54,7 @@ static const struct data_part_entry snor_emmc_parts[] = {
.write = generic_mmc_update_bl33,
#endif
.post_action = UPGRADE_ACTION_CUSTOM,
.do_post_action = generic_invalidate_env,
//.do_post_action = generic_invalidate_env,
},
#endif
{

View File

@@ -29,7 +29,7 @@ static const struct data_part_entry mtd_parts[] = {
.write = generic_ubi_write_fip,
#endif
.post_action = UPGRADE_ACTION_CUSTOM,
.do_post_action = generic_invalidate_env,
//.do_post_action = generic_invalidate_env,
},
#if defined(CONFIG_MTK_FIP_SUPPORT) && !defined(CONFIG_MTK_DUAL_FIP)
{
@@ -47,7 +47,7 @@ static const struct data_part_entry mtd_parts[] = {
.validate = generic_validate_bl33,
.write = generic_ubi_update_bl33,
.post_action = UPGRADE_ACTION_CUSTOM,
.do_post_action = generic_invalidate_env,
//.do_post_action = generic_invalidate_env,
},
#endif
{