diff options
| author | Yao Zi <[email protected]> | 2026-01-30 18:03:51 +0000 |
|---|---|---|
| committer | Peng Fan <[email protected]> | 2026-02-03 22:11:45 +0800 |
| commit | 97cc26f6b6a85312305e5b953ef44861891936bf (patch) | |
| tree | 3f870b908ba98b317647e86ca05a6653caeada79 /doc/develop/bootstd | |
| parent | 7f9e9b50336777ce07ca7d7bc40bd82856d12468 (diff) | |
cmd: mmc: Simplify dev subcommand handling
Replace the big if-else block in do_mmc_dev() with switch-case and use
fallthrough to remove the duplicated code for parsing dev and part.
Signed-off-by: Yao Zi <[email protected]>
Tested-by: Anshul Dalal <[email protected]>
Reviewed-by: Peng Fan <[email protected]>
Signed-off-by: Peng Fan <[email protected]>
Diffstat (limited to 'doc/develop/bootstd')
0 files changed, 0 insertions, 0 deletions
