On Mon, Sep 09, 2019 at 10:34:51PM +0200, Uwe Kleine-König wrote: > + ret = mci_send_ext_csd(mci, ext_csd); > + if (ret) { > + printf("Failure to read EXT_CSD register\n"); > + free(ext_csd); > + return ERR_PTR(-EIO); > + } > + > + return ext_csd; > +} > + > +/* enh_area -m [-c] /dev/mmcX */ -m is not implemented > +static int do_mmc_enh_area(int argc, char *argv[]) > +{ > + const char *devpath; > + struct mci *mci; > + u8 *ext_csd; > + int set_completed = 0; > + int opt; > + int ret; > + > + while ((opt = getopt(argc, argv, "c")) > 0) { > + switch (opt) { > + case 'c': > + set_completed = 1; > + break; > + } > + } > + > + /* > + * -m is currently mandatory to allow more flexible enhanced area > + * specifications in the future. > + */ -m? Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox