Searched refs:env_ptr (Results 1 – 5 of 5) sorted by relevance
14 env_t *env_ptr = &environment; variable16 env_t *env_ptr = (env_t *)CONFIG_ENV_ADDR; variable27 if (crc32(0, env_ptr->data, ENV_SIZE) == env_ptr->crc) { in env_remote_init()28 gd->env_addr = (ulong)&(env_ptr->data); in env_remote_init()51 return env_import((char *)env_ptr, 1); in env_remote_load()
39 env_t *env_ptr = (env_t *)CONFIG_ENV_ADDR; variable103 if (crc32(0, env_ptr->data, ENV_SIZE) == env_ptr->crc) {104 gd->env_addr = (ulong)&env_ptr->data;
43 static env_t *env_ptr = &environment; variable45 static env_t *env_ptr = (env_t *)CONFIG_NAND_ENV_DST; variable71 tmp_env2 = (env_t *)((ulong)env_ptr + CONFIG_ENV_SIZE); in env_nand_init()74 tmp_env1 = env_ptr; in env_nand_init()103 env_ptr = tmp_env2; in env_nand_init()107 env_ptr = tmp_env1; in env_nand_init()109 gd->env_addr = (ulong)env_ptr->data; in env_nand_init()
50 static env_t *env_ptr = &environment; variable53 static env_t *env_ptr = (env_t *)CONFIG_ENV_ADDR; variable172 sizeof(env_ptr->data) + (ulong)&(flash_addr_new->data)); in env_flash_save()226 if (crc32(0, env_ptr->data, ENV_SIZE) == env_ptr->crc) { in env_flash_init()227 gd->env_addr = (ulong)&(env_ptr->data); in env_flash_init()
298 env_t *env_ptr = (env_t *)env_sf_get_env_addr(); in env_sf_init() local300 if (crc32(0, env_ptr->data, ENV_SIZE) == env_ptr->crc) { in env_sf_init()301 gd->env_addr = (ulong)&(env_ptr->data); in env_sf_init()