Messages in this thread | | | Date | Mon, 2 Feb 2015 20:17:58 +0100 | Subject | Re: [PATCH] mtd: Expose partition offset to the drivers | From | Richard Weinberger <> |
| |
On Mon, Feb 2, 2015 at 5:22 PM, Ricardo Ribalda Delgado <ricardo.ribalda@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
| |