env: Move get_env_id() to env.h

Move this function over to the new header file. Also rename it to have an
env_ prefix like the other functions.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
This commit is contained in:
Simon Glass 2019-08-01 09:46:41 -06:00 committed by Tom Rini
parent af95f2061a
commit f1f0ae6a9c
5 changed files with 18 additions and 7 deletions

View file

@ -247,8 +247,6 @@ static inline int env_set_addr(const char *varname, const void *addr)
return env_set_hex(varname, (ulong)addr);
}
int get_env_id (void);
void pci_init_board(void);
/* common/exports.c */