On 14 February 2017 at 16:32, Kamal Dasu <kdasu.kdev@xxxxxxxxx> wrote: > Refactored spi_nor_scan() code to add spi_nor_init() function that > programs the spi-nor flash to: > 1) remove flash protection if applicable > 2) set read mode to quad mode if configured such > 3) set the address width based on the flash size and vendor > > spi_nor_scan() now calls spi_nor_init() to setup nor flash. > > Signed-off-by: Kamal Dasu <kdasu.kdev@xxxxxxxxx> Ideally a short reason info should go there. "This allows reusing spi_nor_init during resume" or whatever :) -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html