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