History

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.

Jeonghan Kim committed 10 years ago

Commit 417b1bf1 parent d9943c61 file · +1 −1Browse files

Showing the changes to include/uapi/linux (1 of 1 file). Show all

Unified · Split

include/uapi/linux/mmc/ioctl.h+1−1
@@ -69,6 +69,6 @@ struct mmc_ioc_multi_cmd { · 68 unmodified lines
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 */