u-boot/arch/arm
Simon Glass 2f8d8d6b3a arm: Move bootstage record for board_init_f() to after arch_cpu_init()
The timer may be inited in arch_cpu_init() so it is not safe to make a
bootstage mark before this is called. Arrange the code to fix this.

Note: The question was raised as to why we don't keep all archs in sync.
PowerPC doesn't have specific bootstage markers at present (although it
does use boot progress). I hope that the generic board series will solve
this problem in general, but in the meantime this is a real problem, and
only in ARM.

We now get a correct time for board_init_f:

Timer summary in microseconds:
       Mark    Elapsed  Stage
          0          0  reset
    100,000    100,000  spl_start
    848,530    748,530  board_init_f
    907,301     58,771  board_init_r
    910,478      3,177  board_init

Signed-off-by: Simon Glass <sjg@chromium.org>
2013-01-10 22:27:41 +01:00
..
cpu Merge 'u-boot-atmel/master' into 'u-boot-arm/master' 2013-01-09 20:01:48 +01:00
dts tegra: fdt: Add LCD definitions for Tegra 2012-11-19 08:15:36 -07:00
imx-common imx-common: cpu: add imx_ddr_size 2012-11-10 08:15:40 +01:00
include/asm arm: Keep track of the tlb size as well as its location 2013-01-10 22:21:32 +01:00
lib arm: Move bootstage record for board_init_f() to after arch_cpu_init() 2013-01-10 22:27:41 +01:00
config.mk arm: work around assembler bug 2012-10-04 14:19:04 +02:00