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 (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
69 * is enforced per ioctl call. For larger data transfers, use the normal69 * 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 25573#define MMC_IOC_MAX_CMDS 255
74#endif /* LINUX_MMC_IOCTL_H */74#endif /* LINUX_MMC_IOCTL_H */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t