Home
last modified time | relevance | path

Searched refs:env_ptr (Results 1 – 5 of 5) sorted by relevance

/u-boot/env/
A Dremote.c16 static env_t *env_ptr = &environment; variable
18 static env_t *env_ptr = (env_t *)CONFIG_ENV_ADDR; variable
25 if (crc32(0, env_ptr->data, ENV_SIZE) == env_ptr->crc) { in env_remote_init()
26 gd->env_addr = (ulong)&(env_ptr->data); in env_remote_init()
49 return env_import((char *)env_ptr, 1, H_EXTERNAL); in env_remote_load()
A Dnvram.c42 static env_t *env_ptr = (env_t *)CONFIG_ENV_ADDR; variable
106 if (crc32(0, env_ptr->data, ENV_SIZE) == env_ptr->crc) {
107 gd->env_addr = (ulong)&env_ptr->data;
A Dnand.c41 static env_t *env_ptr = &environment; variable
43 static env_t *env_ptr = (env_t *)CONFIG_NAND_ENV_DST; variable
69 tmp_env2 = (env_t *)((ulong)env_ptr + CONFIG_ENV_SIZE); in env_nand_init()
72 tmp_env1 = env_ptr; in env_nand_init()
101 env_ptr = tmp_env2; in env_nand_init()
105 env_ptr = tmp_env1; in env_nand_init()
107 gd->env_addr = (ulong)env_ptr->data; in env_nand_init()
A Dflash.c50 static env_t *env_ptr = &embedded_environment; variable
53 static env_t *env_ptr = (env_t *)CONFIG_ENV_ADDR; variable
174 sizeof(env_ptr->data) + (ulong)&(flash_addr_new->data)); in env_flash_save()
228 if (crc32(0, env_ptr->data, ENV_SIZE) == env_ptr->crc) { in env_flash_init()
229 gd->env_addr = (ulong)&(env_ptr->data); in env_flash_init()
A Dsf.c296 env_t *env_ptr = (env_t *)env_sf_get_env_addr(); in env_sf_init_addr() local
298 if (crc32(0, env_ptr->data, ENV_SIZE) == env_ptr->crc) { in env_sf_init_addr()
299 gd->env_addr = (ulong)&(env_ptr->data); in env_sf_init_addr()

Completed in 7 milliseconds