[U-Boot-Users] PATCH: Introducing CONFIG_BOARD_PRE_RESET

Steven Scholz
2004-10-25T14:39:54Z

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