summaryrefslogtreecommitdiff
path: root/include/command.h
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2012-09-21 04:02:30 +0000
committerTom Rini <trini@ti.com>2012-09-25 14:43:19 -0700
commit7405a133101e009c760b98dd4dbcdc49b82ec3b3 (patch)
treef47bc2c471396d8f49c76e5b5424f3afc923485f /include/command.h
parent2f5016462710050ce6c052bbc87cba115f53a51f (diff)
combine block device load commands into common function
All the raw block load commands duplicate the same code. Starting with the ide version as it has progress updates convert ide, usb, and scsi boot commands to all use a common version. Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Diffstat (limited to 'include/command.h')
-rw-r--r--include/command.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/command.h b/include/command.h
index 6e1bdc2ab2..1f06aa1819 100644
--- a/include/command.h
+++ b/include/command.h
@@ -110,6 +110,10 @@ static inline int bootm_maybe_autostart(cmd_tbl_t *cmdtp, const char *cmd)
return 0;
}
#endif
+
+extern int common_diskboot(cmd_tbl_t *cmdtp, const char *intf, int argc,
+ char *const argv[]);
+
extern int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]);
/*