Lines Matching refs:location
25 if (loc == entry->location)
69 static bool env_has_inited(enum env_location location)
71 return gd->env_has_init & BIT(location);
74 static void env_set_inited(enum env_location location)
83 gd->env_has_init |= BIT(location);
87 * arch_env_get_location() - Returns the best env location for an arch
98 * the fact that the lowest prority (0) is the most important location
114 * env_get_location() - Returns the best env location for a board
124 * the fact that the lowest prority (0) is the most important location
137 * env_driver_lookup() - Finds the most suited environment location
158 debug("%s: No environment driver for location %d\n", __func__,
183 if (!env_has_inited(drv->location))
208 * In case of invalid environment, we set the 'default' env location
210 * 1. Environment location with bad CRC, if such location was found
211 * 2. Otherwise use the location with highest priority
236 if (!env_has_inited(drv->location)) {
268 if (!env_has_inited(drv->location)) {
299 if (!env_has_inited(drv->location)) {
326 env_set_inited(drv->location);
328 env_set_inited(drv->location);
376 if (entry->location == env_get_location(ENVOP_LOAD, prio)) {