lkml.org 
[lkml]   [2014]   [Jun]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 18/36] ARM: OMAP2+: gpmc-onenand: Move Synchronous setting code to drivers/
    On 06/13/2014 10:55 AM, Tony Lindgren wrote:
    > * Roger Quadros <rogerq@ti.com> [140611 01:59]:
    >> Move the code that puts the onenand in synchronous mode
    >> into the appropriate place i.e. drivers/mtd/onenand/omap2.c.
    >>
    >> Make use of omap_gpmc_get_clk_period() and omap_gpmc_retime()
    >> to calculate the necessary timings and configure the GPMC
    >> parent's timings.
    >
    > Ideally we would just use the drivers/mtd/onenand/generic.c
    > and get rid of drivers/mtd/onenand/omap2.c. We still need
    > the bus glue, which should probably be in drivers/memory?
    >

    But what about the runtime synchronous timing calculations onenand/omap2.c?
    There is also OMAP2 and OMAP3 specific dma handling done there, which should probably be done generically using dmaengine.

    cheers,
    -roger




    \
     
     \ /
      Last update: 2014-06-13 11:21    [W:4.124 / U:0.196 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site