[patch 4/4] mtdpart: memory accessor interface for MTD layer
Artem Bityutskiy
dedekind1 at gmail.com
Wed Jul 21 06:38:33 EDT 2010
On Tue, 2010-07-20 at 15:24 -0700, akpm at linux-foundation.org wrote:
> From: Sudhakar Rajashekhara <sudhakar.raj at ti.com>
>
> Implement a memory accessor interface in the MTD layer which enables the
> kernel to access flash data.
>
> This patch adds two new members to the mtd_partition structure, a function
> handler which will be called during setup of the partition and an argument
> to be passed to this setup function.
>
> Example:
> +static struct mtd_partition spi_flash_partitions[] = {
> + [0] = {
> + .name = "U-Boot",
> + .offset = 0,
> + .size = SZ_256K,
> + .mask_flags = MTD_WRITEABLE,
> + },
...
Will push this to my l2-mtd-2.6 / dunno
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
More information about the linux-mtd
mailing list