Hello, v3 of this series is was sent in October 2018. This v4 addresses the feedback I got then by Sascha: add a call to free that I missed and use getopt instead of parsing the options by hand. I also dropped the mandatory "setmax" subcommand. With option parsing the new command is flexible enough to be expanded in the future for setting other sizes than maximal. The first patch is a small cleanup and unchanged since v3. Best regards Uwe Uwe Kleine-König (2): mci: provide wrapper for mci_get_device_by_name ∘ devpath_to_name mci: implement command to switch a mmc device to enhanced mode commands/Kconfig | 11 +++ commands/Makefile | 1 + commands/mmc.c | 200 ++++++++++++++++++++++++++++++++++++++++++ commands/mmc_extcsd.c | 6 +- include/mci.h | 13 +++ 5 files changed, 228 insertions(+), 3 deletions(-) create mode 100644 commands/mmc.c -- 2.23.0 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox