[PATCH] mtd: Expose partition offset to the drivers
Richard Weinberger
richard.weinberger at gmail.com
Mon Feb 2 11:17:58 PST 2015
On Mon, Feb 2, 2015 at 5:22 PM, Ricardo Ribalda Delgado
<ricardo.ribalda at gmail.com> wrote:
> Currently, there is no way to find out the offset of an mtd partition by
> a driver. This might be needed by external hardware.
>
> For example, a flash containing the firmware of an external device that
> is also accessible by the main cpu/kernel.
>
> The flash is big enough to have two partitions with 2 versions of the
> firmware, so we can have a safe upgrade.
>
> Once the flash has been updated we need the real offset, so we can write
> it on the external device registers.
Can you please also send a patch which shows the usage of this new function
by a driver?
--
Thanks,
//richard
More information about the linux-mtd
mailing list