From: Jeonghan Kim Date: Wed, 19 Oct 2016 10:48:02 +0000 (+0900) Subject: mmc: block: Change MMC_IOC_MAX_BYTES X-Git-Tag: v4.14-rc1~1898^2~129 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=417b1bf8367edb7e68bd9f3275c104871aeca530;p=platform%2Fkernel%2Flinux-rpi.git mmc: block: Change MMC_IOC_MAX_BYTES It is used for limitation of buffer size during IOCTL such as FFU. However, eMMC FW size is bigger than (512L*256). (For instance, currently, Samsung eMMC FW size is over 300KB.) So, it needs to increase to execute FFU. Signed-off-by: Jeonghan Kim Acked-by: Jaehoon Chung Signed-off-by: Ulf Hansson --- diff --git a/include/uapi/linux/mmc/ioctl.h b/include/uapi/linux/mmc/ioctl.h index 7e385b8..700a551 100644 --- a/include/uapi/linux/mmc/ioctl.h +++ b/include/uapi/linux/mmc/ioctl.h @@ -69,6 +69,6 @@ struct mmc_ioc_multi_cmd { * is enforced per ioctl call. For larger data transfers, use the normal * block device operations. */ -#define MMC_IOC_MAX_BYTES (512L * 256) +#define MMC_IOC_MAX_BYTES (512L * 1024) #define MMC_IOC_MAX_CMDS 255 #endif /* LINUX_MMC_IOCTL_H */