diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2013-09-22 11:52:34 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-09-24 09:03:18 +0200 |
commit | 68e6eceae99c694dff8bb3c26924b8643012189a (patch) | |
tree | 480a58fc89b002a57394773e3c617c6ab40a8351 /include/boot.h | |
parent | b15c5eeecfbe4e4d1167b67a897d6c61dbae4251 (diff) | |
download | barebox-68e6eceae99c694dff8bb3c26924b8643012189a.tar.gz barebox-68e6eceae99c694dff8bb3c26924b8643012189a.tar.xz |
bootm: Add dryrun support
This adds support for checking the bootm command without actually booting.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/boot.h')
-rw-r--r-- | include/boot.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/boot.h b/include/boot.h index 3bb55e7b2e..84b4fd0b35 100644 --- a/include/boot.h +++ b/include/boot.h @@ -14,6 +14,7 @@ struct bootm_data { int verbose; bool verify; bool force; + bool dryrun; unsigned long initrd_address; unsigned long os_address; unsigned long os_entry; @@ -64,6 +65,7 @@ struct image_data { int verify; int verbose; int force; + int dryrun; }; struct image_handler { |