u-boot-brain/include/asm-avr32/arch-at32ap700x
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
..
chip-features.h atmel_spi: Driver for the Atmel SPI controller 2008-06-03 20:30:05 +02:00
clk.h avr32: Use board_postclk_init instead of gclk_init 2008-09-01 14:21:34 +02:00
gpio.h avr32: refactor the portmux/gpio code 2008-09-01 14:20:41 +02:00
hmatrix.h avr32: Clean up the HMATRIX code 2008-05-27 15:27:29 +02:00
memory-map.h avr32: Rework SDRAM initialization code 2008-05-27 15:27:31 +02:00
mmc.h MMC: Consolidate MMC/SD command definitions 2008-06-28 22:40:15 +02:00
portmux.h avr32: refactor the portmux/gpio code 2008-09-01 14:20:41 +02:00