diff options
author | Sean Anderson <sean.anderson@seco.com> | 2021-04-12 18:53:05 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-04-22 14:09:45 -0400 |
commit | 7194527b6a456abaa24198dc4b6c289905c4cffd (patch) | |
tree | 62f82f28a3807a864676356f7da6d030b9e9cdf5 /fs | |
parent | fe3a2808bb5f86c738d47a4158117e32c349db0d (diff) | |
download | u-boot-7194527b6a456abaa24198dc4b6c289905c4cffd.zip u-boot-7194527b6a456abaa24198dc4b6c289905c4cffd.tar.gz u-boot-7194527b6a456abaa24198dc4b6c289905c4cffd.tar.bz2 |
cmd: fs: Use part_get_info_by_dev_and_name_or_num to parse partitions
This allows using dev#partlabel syntax.
Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/fs.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -385,8 +385,8 @@ int fs_set_blk_dev(const char *ifname, const char *dev_part_str, int fstype) } #endif - part = blk_get_device_part_str(ifname, dev_part_str, &fs_dev_desc, - &fs_partition, 1); + part = part_get_info_by_dev_and_name_or_num(ifname, dev_part_str, &fs_dev_desc, + &fs_partition, 1); if (part < 0) return -1; |