]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
common: board_f: Do not call board_postclk_init twice
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Tue, 21 May 2013 21:08:09 +0000 (21:08 +0000)
committerTom Rini <trini@ti.com>
Tue, 4 Jun 2013 20:06:32 +0000 (16:06 -0400)
commitb8521b740bdecfb18d43dda62d72cbf7e167f1d0
treeeb1c095a89c4224da81661e4c10534ab8e5530d6
parent67cd4a63487400317f1586b130bc2475767a5315
common: board_f: Do not call board_postclk_init twice

The generic-board board_init_f function called board_postclk_init twice.

The first one came from arch/arm/lib/board.c, while the second one
from arch/powerpc/lib/board.c.

This commit deletes the first occurrence.
In addition, the second get_clocks call is moved after
board_postclk_init in order to keep the function call order
both for ARM and PowerPC.
ARM board calles get_clocks function after board_postclk_init.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
common/board_f.c