Searched refs:readenv (Results 1 – 1 of 1) sorted by relevance
242 static int readenv(size_t offset, u_char *buf) in readenv() function247 static int readenv(size_t offset, u_char *buf) in readenv() function335 read1_fail = readenv(CONFIG_ENV_OFFSET, (u_char *) tmp_env1); in env_nand_load()336 read2_fail = readenv(CONFIG_ENV_OFFSET_REDUND, (u_char *) tmp_env2); in env_nand_load()374 ret = readenv(CONFIG_ENV_OFFSET, (u_char *)buf); in env_nand_load()