
25 Oct
2004
25 Oct
'04
4:39 p.m.
Hi Gerald,
I like your suggestion a lot, but I would suggest a "#ifdef" around the common.h kind of like I hand-pasted in below (probably incorrectly, but you get my meaning).
int board_postclk_init (void); int board_early_init_r (void); void board_poweroff (void); +#ifdef CONFIG_BOARD_PRE_RESET +void board_pre_reset (void); +#endif
Since functions like board_postclk_init and board_early_init_r etc. don't have an #ifdef I decided to go the same way.
Do you see any problems without #ifdef ?
--
Steven Scholz