lkml.org 
[lkml]   [2015]   [Feb]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] mtd: Expose partition offset to the drivers
From
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


\
 
 \ /
  Last update: 2015-02-02 20:41    [W:0.040 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site