Skip to content

Commit 417b1bf

Browse files
Jeonghan KimUlf Hansson
authored andcommitted
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 <jh4u.kim@samsung.com> Acked-by: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
1 parent d9943c6 commit 417b1bf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎include/uapi/linux/mmc/ioctl.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,6 @@ struct mmc_ioc_multi_cmd {
6969
* is enforced per ioctl call. For larger data transfers, use the normal
7070
* block device operations.
7171
*/
72-
#define MMC_IOC_MAX_BYTES (512L * 256)
72+
#define MMC_IOC_MAX_BYTES (512L * 1024)
7373
#define MMC_IOC_MAX_CMDS 255
7474
#endif /* LINUX_MMC_IOCTL_H */

0 commit comments

Comments
 (0)