Re: [PATCH v4 2/2] mci: implement command to switch a mmc device to enhanced mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux