Lines Matching refs:CONFIG_ENV_SIZE
31 (CONFIG_ENV_SIZE_REDUND < CONFIG_ENV_SIZE)
32 #error CONFIG_ENV_SIZE_REDUND should not be less then CONFIG_ENV_SIZE
125 #if CONFIG_ENV_SECT_SIZE > CONFIG_ENV_SIZE in env_flash_save()
145 #if CONFIG_ENV_SECT_SIZE > CONFIG_ENV_SIZE in env_flash_save()
146 up_data = end_addr_new + 1 - ((long)flash_addr_new + CONFIG_ENV_SIZE); in env_flash_save()
156 (void *)((long)flash_addr_new + CONFIG_ENV_SIZE), in env_flash_save()
159 (long)flash_addr_new + CONFIG_ENV_SIZE, in env_flash_save()
183 #if CONFIG_ENV_SECT_SIZE > CONFIG_ENV_SIZE in env_flash_save()
186 (long)flash_addr_new + CONFIG_ENV_SIZE, up_data); in env_flash_save()
188 (long)flash_addr_new + CONFIG_ENV_SIZE, in env_flash_save()
244 #if CONFIG_ENV_SECT_SIZE > CONFIG_ENV_SIZE in env_flash_save()
247 up_data = end_addr + 1 - ((long)flash_addr + CONFIG_ENV_SIZE); in env_flash_save()
257 (void *)((long)flash_addr + CONFIG_ENV_SIZE), up_data); in env_flash_save()
259 (ulong)flash_addr + CONFIG_ENV_SIZE, in env_flash_save()
279 rc = flash_write((char *)&env_new, (long)flash_addr, CONFIG_ENV_SIZE); in env_flash_save()
283 #if CONFIG_ENV_SECT_SIZE > CONFIG_ENV_SIZE in env_flash_save()
286 (ulong)flash_addr + CONFIG_ENV_SIZE, up_data); in env_flash_save()
288 (long)flash_addr + CONFIG_ENV_SIZE, in env_flash_save()