
25 Oct
2004
25 Oct
'04
5:12 p.m.
Hi Gerald,
Do you see any problems without #ifdef ?
The reason I suggested the #ifdef is because the actual code implementation is surrounded by the #ifdef so, if you don't have CONFIG_BOARD_PRE_RESET defined, you will have a declaration of board_pre_reset() but no code implementing it.
This is how it's done all over the U-Boot source code. So I take it for some kind of "coding style" ... ;-)
Steven