[U-Boot-Users] PATCH: Introducing CONFIG_BOARD_PRE_RESET

Steven Scholz
2004-10-25T15:12:38Z

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