Skip to content

Commit 417b1bf

Browse files
Jeonghan Kimstorulf
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 <[email protected]> Acked-by: Jaehoon Chung <[email protected]> Signed-off-by: Ulf Hansson <[email protected]>
1 parent d9943c6 commit 417b1bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)