[U-Boot] [PATCH v2 11/15] drivers: nand: omap_gpmc: convert driver to adopt driver model

Grygorii Strashko grygorii.strashko at ti.com
Mon Feb 6 18:40:21 UTC 2017



On 02/05/2017 07:57 PM, Tom Rini wrote:
> On Tue, Jan 31, 2017 at 03:37:13PM -0600, Grygorii Strashko wrote:
>
>> From: Mugunthan V N <mugunthanvnm at ti.com>
>>
>> adopt omap_gpmc driver to driver model.
>>
>> Signed-off-by: Mugunthan V N <mugunthanvnm at ti.com>
>> Signed-off-by: Grygorii Strashko <grygorii.strashko at ti.com>
>> ---
>>  drivers/mtd/nand/omap_gpmc.c | 205 +++++++++++++++++++++++++++++++++++++++++++
>>  1 file changed, 205 insertions(+)
>
> Is there any way we can do this while sharing more of the code between
> the DM and non-DM versions?
>

I could try combine code from board_nand_init and omap_gpmc_probe.

-- 
regards,
-grygorii


More information about the U-Boot mailing list