Re: [U-Boot] [RFC] arm/board.c: avoid ifdef using weak default functions

2009-07-23 Thread Jean-Christophe PLAGNIOL-VILLARD
On 19:19 Wed 22 Jul , Alessandro Rubini wrote: From: Alessandro Rubini rub...@gnudd.com While it's a matter of personal taste, I prefer to avoid ifdef when possible. For example, I don't like to add BOARD_LATE_INIT in the config file just to have my board_late_init() function called.

[U-Boot] [RFC] arm/board.c: avoid ifdef using weak default functions

2009-07-22 Thread Alessandro Rubini
From: Alessandro Rubini rub...@gnudd.com While it's a matter of personal taste, I prefer to avoid ifdef when possible. For example, I don't like to add BOARD_LATE_INIT in the config file just to have my board_late_init() function called. This patch (not meant to be applied mainstram, jsut for