summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2013-06-11 11:14:48 -0700
committerTom Rini <trini@ti.com>2013-06-26 10:18:56 -0400
commitd0ae31eb0714a8b44dcdb644f8b68dafdbc1c197 (patch)
tree4ff4510bdf06010ad4a13a563e6571262aac753c /include
parent35fc84fa1ff51e15ecd3e464dac87eb105ffed30 (diff)
downloadu-boot-imx-d0ae31eb0714a8b44dcdb644f8b68dafdbc1c197.zip
u-boot-imx-d0ae31eb0714a8b44dcdb644f8b68dafdbc1c197.tar.gz
u-boot-imx-d0ae31eb0714a8b44dcdb644f8b68dafdbc1c197.tar.bz2
Add a 'fake' go command to the bootm command
For tracing it is useful to run as much of U-Boot as possible so as to get a complete picture. Quite a bit of work happens in bootm, and we don't want to have to stop tracing before bootm starts. Add a way of doing a 'fake' boot of the OS - which does everything up to the point where U-Boot is about to jump to the OS image. This allows tracing to record right until the end. This requires arch support to work. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/image.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/image.h b/include/image.h
index 8675a82..4415bcf 100644
--- a/include/image.h
+++ b/include/image.h
@@ -328,7 +328,8 @@ typedef struct bootm_headers {
#define BOOTM_STATE_OS_CMDLINE (0x00000040)
#define BOOTM_STATE_OS_BD_T (0x00000080)
#define BOOTM_STATE_OS_PREP (0x00000100)
-#define BOOTM_STATE_OS_GO (0x00000200)
+#define BOOTM_STATE_OS_FAKE_GO (0x00000200) /* 'Almost' run the OS */
+#define BOOTM_STATE_OS_GO (0x00000400)
int state;
#ifdef CONFIG_LMB