Searched refs:erase_and_write_env (Results 1 – 1 of 1) sorted by relevance
164 static int erase_and_write_env(const struct nand_env_location *location, in erase_and_write_env() function221 ret = erase_and_write_env(&location[env_idx], (u_char *)env_new); in env_nand_save()231 ret = erase_and_write_env(&location[env_idx], (u_char *)env_new); in env_nand_save()