u-boot-brain/arch
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
..
arm arm: Move bootstage record for board_init_f() to after arch_cpu_init() 2013-01-10 22:27:41 +01:00
avr32 common: Discard the __u_boot_cmd section 2012-10-22 08:29:42 -07:00
blackfin common: Discard the __u_boot_cmd section 2012-10-22 08:29:42 -07:00
m68k env: Use getenv_yesno() more generally 2012-12-13 11:46:55 -07:00
microblaze env: Use getenv_yesno() more generally 2012-12-13 11:46:55 -07:00
mips mips: serial: Fix busted manual relocation 2012-12-12 13:20:24 +01:00
nds32 common: Discard the __u_boot_cmd section 2012-10-22 08:29:42 -07:00
nios2 nios2: remove asm/status_led.h 2012-11-10 19:45:58 +08:00
openrisc openrisc: Change bi_baudrate and global data baudrate to int 2012-10-19 15:25:45 -07:00
powerpc env: Use getenv_yesno() more generally 2012-12-13 11:46:55 -07:00
sandbox common: Discard the __u_boot_cmd section 2012-10-22 08:29:42 -07:00
sh sh: fix trigger_address_error() 2012-11-30 15:06:04 +09:00
sparc env: Use getenv_yesno() more generally 2012-12-13 11:46:55 -07:00
x86 x86: Build vga video code only if CONFIG_VIDEO_VGA is defined 2012-12-06 14:30:44 -08:00
.gitignore update include/asm/ gitignore after move 2010-05-07 00:17:30 +02:00