Move this function into init.h which seems to be designed for this sort of thing. Also update the header to declare struct global_data so that it can be included without global_data.h being needed. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> |
||
|---|---|---|
| .. | ||
| ax25 | ||
| generic | ||
| Makefile | ||
| cpu.c | ||
| mtrap.S | ||
| start.S | ||
| u-boot-spl.lds | ||
| u-boot.lds | ||