u-boot-brain/cpu/at32ap
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
..
at32ap700x avr32: Add gclk helper functions 2008-09-01 14:21:34 +02:00
cache.c Add AT32AP CPU and AT32AP7000 SoC support 2006-10-24 14:27:35 +02:00
config.mk Add AT32AP CPU and AT32AP7000 SoC support 2006-10-24 14:27:35 +02:00
cpu.c avr32: Use board_postclk_init instead of gclk_init 2008-09-01 14:21:34 +02:00
exception.c avr32: Do stricter stack checking in the exception handler 2008-05-27 15:27:30 +02:00
hsdramc.c avr32: Rework SDRAM initialization code 2008-05-27 15:27:31 +02:00
hsdramc1.h AVR32: Resource management rewrite 2007-04-14 15:20:27 +02:00
hsmc3.h AVR32: Resource management rewrite 2007-04-14 15:20:27 +02:00
interrupts.c avr32: Fix theoretical race in udelay() 2008-05-27 15:27:31 +02:00
Makefile avr32: refactor the portmux/gpio code 2008-09-01 14:20:41 +02:00
pio2.h AVR32: Resource management rewrite 2007-04-14 15:20:27 +02:00
portmux-pio.c avr32: refactor the portmux/gpio code 2008-09-01 14:20:41 +02:00
start.S avr32: Use the same entry point for reset and exception handling 2008-05-27 15:27:30 +02:00