Lines Matching refs:env_offset_redund
33 static ulong env_size, env_offset, env_offset_redund; variable
86 env_offset_redund = CONFIG_ENV_OFFSET_REDUND; in envf_init_location()
94 env_offset_redund = CONFIG_ENV_NAND_OFFSET_REDUND; in envf_init_location()
102 env_offset_redund = CONFIG_ENV_NOR_OFFSET_REDUND; in envf_init_location()
105 if (env_offset == env_offset_redund) in envf_init_location()
106 env_offset_redund = 0; in envf_init_location()
170 if (ret < 0 && env_offset_redund) in envf_read()
171 ret = env_read(desc, env_offset_redund, env_size, &env); in envf_read()
227 if (env_offset_redund) in envf_get()
229 env_offset_redund, env_offset_redund + env_size); in envf_get()
328 if (env_offset_redund) { in envf_save()
329 if (blk_dwrite(desc, BLK_CNT(desc, env_offset_redund), in envf_save()