lkml.org 
[lkml]   [2010]   [Jul]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRE: [PATCH 1/2] mtdpart: memory accessor interface for MTD layer

    > > > 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.
    > >
    > > Ick.
    > >
    > > I don't mind providing the mtd_macc_{read,write}
    > helper functions,
    > > although they should work on generic MTD
    > > >devices not just on partitions.
    > > But do we really have to do the callout to
    > > arbitrary functions from
    > > _within_ the core MTD code... why can't we
    > > do that in the board driver?

    I think the short answer is that the callout is
    what provides the board drivers enough information
    to make the correct calls.




    \
     
     \ /
      Last update: 2010-07-07 13:11    [W:0.044 / U:33.028 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site