diff options
Diffstat (limited to 'drivers/mtd/ubi/io.c')
-rw-r--r-- | drivers/mtd/ubi/io.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mtd/ubi/io.c b/drivers/mtd/ubi/io.c index 016ec1387bc2..4b979e34b159 100644 --- a/drivers/mtd/ubi/io.c +++ b/drivers/mtd/ubi/io.c | |||
@@ -64,9 +64,9 @@ | |||
64 | * device, e.g., make @ubi->min_io_size = 512 in the example above? | 64 | * device, e.g., make @ubi->min_io_size = 512 in the example above? |
65 | * | 65 | * |
66 | * A: because when writing a sub-page, MTD still writes a full 2K page but the | 66 | * A: because when writing a sub-page, MTD still writes a full 2K page but the |
67 | * bytes which are no relevant to the sub-page are 0xFF. So, basically, writing | 67 | * bytes which are not relevant to the sub-page are 0xFF. So, basically, |
68 | * 4x512 sub-pages is 4 times slower than writing one 2KiB NAND page. Thus, we | 68 | * writing 4x512 sub-pages is 4 times slower than writing one 2KiB NAND page. |
69 | * prefer to use sub-pages only for EV and VID headers. | 69 | * Thus, we prefer to use sub-pages only for EC and VID headers. |
70 | * | 70 | * |
71 | * As it was noted above, the VID header may start at a non-aligned offset. | 71 | * As it was noted above, the VID header may start at a non-aligned offset. |
72 | * For example, in case of a 2KiB page NAND flash with a 512 bytes sub-page, | 72 | * For example, in case of a 2KiB page NAND flash with a 512 bytes sub-page, |