Haavard Skinnemoen 36d375faf5 avr32: Use board_postclk_init instead of gclk_init
Replace the avr32-specific gclk_init() board hook with the standard
board_postclk_init() hook which is supposed to run at the same point
during initialization.

Provide a dummy weak alias for boards not implementing this hook. The
cost of this is:
  - 2 bytes for the dummy function (retal 0)
  - 2 bytes for each unnecessary function call (short rcall)

which is a pretty small price to pay for avoiding lots of #ifdef
clutter. In this particular case, all boards probably end up slightly
smaller because we avoid the conditional checking if the gclk_init
symbol is NULL.

Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
2008-09-01 14:21:34 +02:00
..
2008-08-31 04:45:42 +02:00
2008-08-06 14:05:38 +02:00
2008-08-31 23:02:21 +09:00
2008-07-10 00:51:16 +02:00
2008-08-31 04:24:51 +02:00
2008-08-06 14:05:38 +02:00
2008-08-06 14:05:38 +02:00
2008-08-31 04:24:55 +02:00
2008-08-18 23:50:20 +02:00
2008-07-01 23:03:14 +02:00
2008-07-10 00:39:28 +02:00
2008-08-14 14:41:06 +02:00
2008-08-27 11:43:54 -05:00