diff options
author | Simon Glass <sjg@chromium.org> | 2011-12-10 11:08:06 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2012-03-18 21:42:56 +0100 |
commit | 573f14fe4ed5b803207824be9e3147e894b68f8b (patch) | |
tree | bc6f50c9210dc98f8eceb90ced6b518864a6317b /common/cmd_bootm.c | |
parent | 3a608ca01d76e8cb90dcc8dc1a22cde98cdca3ab (diff) | |
download | u-boot-573f14fe4ed5b803207824be9e3147e894b68f8b.tar.gz |
bootstage: Plumb in bootstage calls for basic operations
This inserts bootstage calls into tftp, usb start and bootm. We
could go further, but this is a reasonable start to illustrate
the concept.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/cmd_bootm.c')
-rw-r--r-- | common/cmd_bootm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c index fd9f3e917c..d88f6c0253 100644 --- a/common/cmd_bootm.c +++ b/common/cmd_bootm.c @@ -199,6 +199,8 @@ static int bootm_start(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[] bootm_start_lmb(); + bootstage_mark_name(BOOTSTAGE_ID_BOOTM_START, "bootm_start"); + /* get kernel image header, start address and length */ os_hdr = boot_get_kernel(cmdtp, flag, argc, argv, &images, &images.os.image_start, &images.os.image_len); |