env: Move env_fix_drivers() to env.h

Move this function over to the new header file.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass 2019-08-01 09:46:55 -06:00 committed by Tom Rini
parent 36c8b143c0
commit 03ed91887f
2 changed files with 5 additions and 5 deletions

View File

@ -182,4 +182,9 @@ int eth_env_get_enetaddr(const char *name, uint8_t *enetaddr);
*/
int eth_env_set_enetaddr(const char *name, const uint8_t *enetaddr);
/**
* env_fix_drivers() - Updates envdriver as per relocation
*/
void env_fix_drivers(void);
#endif

View File

@ -320,11 +320,6 @@ int env_save(void);
*/
int env_erase(void);
/**
* env_fix_drivers() - Updates envdriver as per relocation
*/
void env_fix_drivers(void);
#endif /* DO_DEPS_ONLY */
#endif /* _ENVIRONMENT_H_ */