Description
The use of board_init is inconsistent: Some boards define it in their include/board.h, some don't and rely on the caller to extern void board_init(void) it.
As a side effect, the real documentation for board_init (if there is one) is neigh impossible to find.
Proposed steps
Rip out all board_init from include/board.h files, and ask murdock whether any users of it should add an exter declaration.
In parallel, think about whether it'd make sense to have a single header that declares the function once-and-for-all, and make those that fail use that.
Open questions
Description
The use of
board_initis inconsistent: Some boards define it in theirinclude/board.h, some don't and rely on the caller toextern void board_init(void)it.As a side effect, the real documentation for board_init (if there is one) is neigh impossible to find.
Proposed steps
Rip out all board_init from
include/board.hfiles, and ask murdock whether any users of it should add anexterdeclaration.In parallel, think about whether it'd make sense to have a single header that declares the function once-and-for-all, and make those that fail use that.
Open questions