Searched refs:up_data (Results 1 – 1 of 1) sorted by relevance
126 ulong up_data = 0; in env_flash_save() local146 up_data = end_addr_new + 1 - ((long)flash_addr_new + CONFIG_ENV_SIZE); in env_flash_save()147 debug("Data to save 0x%lX\n", up_data); in env_flash_save()148 if (up_data) { in env_flash_save()149 saved_data = malloc(up_data); in env_flash_save()152 up_data); in env_flash_save()157 up_data); in env_flash_save()160 up_data, saved_data); in env_flash_save()184 if (up_data) { /* restore the rest of sector */ in env_flash_save()186 (long)flash_addr_new + CONFIG_ENV_SIZE, up_data); in env_flash_save()[all …]