Lines Matching full:location
41 if (loc == entry->location) in _env_driver_lookup()
88 static bool env_has_inited(enum env_location location) in env_has_inited() argument
90 return gd->env_has_init & BIT(location); in env_has_inited()
93 static void env_set_inited(enum env_location location) in env_set_inited() argument
102 gd->env_has_init |= BIT(location); in env_set_inited()
106 * env_get_location() - Returns the best env location for a board
116 * the fact that the lowest prority (0) is the most important location
135 * env_driver_lookup() - Finds the most suited environment location
156 debug("%s: No environment driver for location %d\n", __func__, in env_driver_lookup()
189 if (!env_has_inited(drv->location)) in env_load()
212 * In case of invalid environment, we set the 'default' env location in env_load()
214 * 1. Environment location with bad CRC, if such location was found in env_load()
215 * 2. Otherwise use the location with highest priority in env_load()
240 if (!env_has_inited(drv->location)) in env_save()
265 env_set_inited(drv->location); in env_init()