Re: [PATCH v2] memory: omap-gpmc: Fix build error without CONFIG_OF

2020-08-27 Thread Roger Quadros
Hi, On 26/08/2020 15:59, YueHaibing wrote: If CONFIG_OF is n, gcc fails: drivers/memory/omap-gpmc.o: In function `gpmc_omap_onenand_set_timings': omap-gpmc.c:(.text+0x2a88): undefined reference to `gpmc_read_settings_dt' Add gpmc_read_settings_dt() helper function to fix this. Fixes: a758f50f

[PATCH v2] memory: omap-gpmc: Fix build error without CONFIG_OF

2020-08-26 Thread YueHaibing
If CONFIG_OF is n, gcc fails: drivers/memory/omap-gpmc.o: In function `gpmc_omap_onenand_set_timings': omap-gpmc.c:(.text+0x2a88): undefined reference to `gpmc_read_settings_dt' Add gpmc_read_settings_dt() helper function to fix this. Fixes: a758f50f10cf ("mtd: onenand: omap2: Configure driver f