[PATCH V2 1/3] mtd: spi-nor: add id/id_len for flash_info{}

Brian Norris computersforpeace at gmail.com
Mon Dec 1 00:11:43 PST 2014


On Thu, Nov 06, 2014 at 07:34:01AM +0100, Rafał Miłecki wrote:
> From: Huang Shijie <shijie.huang at intel.com>
> 
> This patch adds the id/id_len fields for flash_info{}, and rewrite the
> INFO to fill them. And at last, we read out 6 bytes in the spi_nor_read_id(),
> and we use these new fields to parse out the correct flash_info.
> 
> Signed-off-by: Huang Shijie <shijie.huang at intel.com>
> Signed-off-by: Rafał Miłecki <zajec5 at gmail.com>
> ---
> V2: s/strncmp/memcmp/ as we don't compare strings at all

Applied to l2-mtd.git. Thanks!

Brian



More information about the linux-mtd mailing list