summaryrefslogtreecommitdiff
path: root/include/ext_common.h
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2012-08-23 11:31:46 +0000
committerTom Rini <trini@ti.com>2012-09-25 14:46:55 -0700
commit81180819b842602f29f325298ee3e522beda3e0a (patch)
tree14c47ee7042a0e8b28f50c695d8b386f16cf6144 /include/ext_common.h
parent945010629641b00cca95d1fed4f63009a2b4a113 (diff)
cmd_extX: use common get_device_and_partition function
Convert ext2/4 load, ls, and write functions to use common device and partition parsing function. With the common function "dev:part" can come from the environment and a '-' can be used in that case. Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Diffstat (limited to 'include/ext_common.h')
-rw-r--r--include/ext_common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ext_common.h b/include/ext_common.h
index 9b97522c85..ce73857f8d 100644
--- a/include/ext_common.h
+++ b/include/ext_common.h
@@ -186,6 +186,8 @@ struct ext2_data {
struct ext2fs_node diropen;
};
+extern unsigned long part_offset;
+
int do_ext2ls(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]);
int do_ext2load(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]);
int do_ext4_load(cmd_tbl_t *cmdtp, int flag, int argc,