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>
Showing
- common/cmd_ext4.c 7 additions, 95 deletionscommon/cmd_ext4.c
- common/cmd_ext_common.c 23 additions, 72 deletionscommon/cmd_ext_common.c
- fs/ext4/dev.c 13 additions, 19 deletionsfs/ext4/dev.c
- fs/ext4/ext4_common.h 0 additions, 1 deletionfs/ext4/ext4_common.h
- fs/ext4/ext4fs.c 0 additions, 1 deletionfs/ext4/ext4fs.c
- include/ext4fs.h 1 addition, 2 deletionsinclude/ext4fs.h
- include/ext_common.h 2 additions, 0 deletionsinclude/ext_common.h
Loading
Please register or sign in to comment