Home
last modified time | relevance | path

Searched refs:read_env (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/env/
H A Dsata.c78 static inline int read_env(struct blk_desc *sata, unsigned long size, in read_env() function
108 if (read_env(sata, CONFIG_ENV_SIZE, CONFIG_ENV_OFFSET, buf)) { in env_sata_load()
H A Dmmc.c247 static inline int read_env(struct mmc *mmc, unsigned long size, in read_env() function
291 read1_fail = read_env(mmc, CONFIG_ENV_SIZE, offset1, tmp_env1); in env_mmc_load()
292 read2_fail = read_env(mmc, CONFIG_ENV_SIZE, offset2, tmp_env2); in env_mmc_load()
330 if (read_env(mmc, CONFIG_ENV_SIZE, offset, buf)) { in env_mmc_load()