[U-Boot-Users] PATCH: Introducing CONFIG_BOARD_PRE_RESET
Steven Scholz
steven.scholz at imc-berlin.de
Mon Oct 25 16:39:54 CEST 2004
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
More information about the U-Boot
mailing list