uboot-2025: board: keep env after flash FIP
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user