Home
last modified time | relevance | path

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

/openbmc/u-boot/env/
H A Dremote.c14 env_t *env_ptr = &environment; variable
16 env_t *env_ptr = (env_t *)CONFIG_ENV_ADDR; variable
27 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()
H A Dnvram.c39 env_t *env_ptr = (env_t *)CONFIG_ENV_ADDR; variable
103 if (crc32(0, env_ptr->data, ENV_SIZE) == env_ptr->crc) {
104 gd->env_addr = (ulong)&env_ptr->data;
H A Dnand.c43 static env_t *env_ptr = &environment; variable
45 static env_t *env_ptr = (env_t *)CONFIG_NAND_ENV_DST; variable
71 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()
H A Dflash.c50 static env_t *env_ptr = &environment; variable
53 static env_t *env_ptr = (env_t *)CONFIG_ENV_ADDR; variable
172 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()
H A Dsf.c298 env_t *env_ptr = (env_t *)env_sf_get_env_addr(); in env_sf_init() local
300 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()