diff options
author | Rasmus Villemoes <rasmus.villemoes@prevas.dk> | 2023-03-02 09:12:21 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-03-17 15:44:01 -0400 |
commit | fca7db5b801ff4e3d67e0d40c7302cf7cf68b478 (patch) | |
tree | d7215597e79740fe86b2c25247910218e601a288 /drivers/ddr/marvell/a38x/ddr3_init.h | |
parent | cefd0449d6df77eb0edb8a6800a441f9cd4e3653 (diff) |
cmd: read: use part_get_info_by_dev_and_name_or_num() instead of open-coded dev_part parsing
Use the helper part_get_info_by_dev_and_name_or_num() for parsing a
dev[:part] string and obtaining the partition info in one go, instead
of open-coding all that.
As a bonus, this will automatically allow using the dev#partname
syntax as well, for accessing raw partitions by name.
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Diffstat (limited to 'drivers/ddr/marvell/a38x/ddr3_init.h')
0 files changed, 0 insertions, 0 deletions