diff options
author | Tom Rini <trini@ti.com> | 2012-11-19 09:27:18 -0700 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2012-11-19 09:27:18 -0700 |
commit | bb367b95f9204115bd6eac82e839b5590e6da4eb (patch) | |
tree | a64a8fb6c7a86d79e9a4a0c32d48c033236815fb /arch | |
parent | db71964235c1dfa13ec398da483b0bdbbf31d5b7 (diff) | |
parent | 59ddead140a7cfda78bc36e22aadc48f3b962e59 (diff) |
Merge branch 'agust@denx.de' of git://git.denx.de/u-boot-staging
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/lib/board.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/lib/board.c b/arch/arm/lib/board.c index 92cad9a6eb..22a4d9cc0e 100644 --- a/arch/arm/lib/board.c +++ b/arch/arm/lib/board.c @@ -224,6 +224,13 @@ int __arch_cpu_init(void) int arch_cpu_init(void) __attribute__((weak, alias("__arch_cpu_init"))); +int __power_init_board(void) +{ + return 0; +} +int power_init_board(void) + __attribute__((weak, alias("__power_init_board"))); + init_fnc_t *init_sequence[] = { arch_cpu_init, /* basic arch cpu dependent setup */ @@ -525,6 +532,7 @@ void board_init_r(gd_t *id, ulong dest_addr) #ifdef CONFIG_ARCH_EARLY_INIT_R arch_early_init_r(); #endif + power_init_board(); #if !defined(CONFIG_SYS_NO_FLASH) puts("Flash: "); |