bootstage: arm: Add bootstage calls in board and bootm
authorSimon Glass <sjg@chromium.org>
Mon, 13 Feb 2012 13:51:21 +0000 (13:51 +0000)
committerWolfgang Denk <wd@denx.de>
Sun, 18 Mar 2012 20:43:17 +0000 (21:43 +0100)
commitf933e84e3497bddf29b8183ca6ee37a7a12e9ac3
tree85217517391aed95264cf6bb9b8dd4186eaa1ffd
parent573f14fe4ed5b803207824be9e3147e894b68f8b
bootstage: arm: Add bootstage calls in board and bootm

Add calls to bootstage before and after relocation, and just
before jumping to the OS.

The idea here is you can call bootstage_report() to get a report.
Additionally, if you define CONFIG_BOOTSTAGE_REPORT then a report is
printed automatically by U-Boot just before jumping to the kernel.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/arm/lib/board.c
arch/arm/lib/bootm.c