cmd_extX: use common get_device_and_partition function
authorRob Herring <rob.herring@calxeda.com>
Thu, 23 Aug 2012 11:31:46 +0000 (11:31 +0000)
committerTom Rini <trini@ti.com>
Tue, 25 Sep 2012 21:46:55 +0000 (14:46 -0700)
commit81180819b842602f29f325298ee3e522beda3e0a
tree14c47ee7042a0e8b28f50c695d8b386f16cf6144
parent945010629641b00cca95d1fed4f63009a2b4a113
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>
common/cmd_ext4.c
common/cmd_ext_common.c
fs/ext4/dev.c
fs/ext4/ext4_common.h
fs/ext4/ext4fs.c
include/ext4fs.h
include/ext_common.h