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.
Showing the changes to include/uapi/linux (1 of 1 file). Show all
Unified · Split
| @@ -69,6 +69,6 @@ struct mmc_ioc_multi_cmd { · 68 unmodified lines | |||
| 69 | * is enforced per ioctl call. For larger data transfers, use the normal | 69 | * is enforced per ioctl call. For larger data transfers, use the normal |
| 70 | * block device operations. | 70 | * block device operations. |
| 71 | */ | 71 | */ |
| 72 | #define MMC_IOC_MAX_BYTES (512L * 256) | 72 | #define MMC_IOC_MAX_BYTES (512L * 1024) |
| 73 | #define MMC_IOC_MAX_CMDS 255 | 73 | #define MMC_IOC_MAX_CMDS 255 |
| 74 | #endif /* LINUX_MMC_IOCTL_H */ | 74 | #endif /* LINUX_MMC_IOCTL_H */ |