RE: [PATCH v2] mtd: m25p80: Make the name of mtd_info fixed

2014-02-13 Thread b48...@freescale.com
..@vger.kernel.org > Subject: Re: [PATCH v2] mtd: m25p80: Make the name of mtd_info fixed > > On Sun, Jan 26, 2014 at 02:16:43PM +0800, Hou Zhiqiang wrote: > > To give spi flash layout using "mtdparts=..." in cmdline, we must give > > mtd_info a fixed name,because the c

Re: [PATCH v2] mtd: m25p80: Make the name of mtd_info fixed

2014-02-10 Thread Brian Norris
On Sun, Jan 26, 2014 at 02:16:43PM +0800, Hou Zhiqiang wrote: > To give spi flash layout using "mtdparts=..." in cmdline, we must > give mtd_info a fixed name,because the cmdlinepart's parser will > match the name given in cmdline with the mtd_info. > > Now, if use OF node, mtd_info's name will be

[PATCH v2] mtd: m25p80: Make the name of mtd_info fixed

2014-01-25 Thread Hou Zhiqiang
To give spi flash layout using "mtdparts=..." in cmdline, we must give mtd_info a fixed name,because the cmdlinepart's parser will match the name given in cmdline with the mtd_info. Now, if use OF node, mtd_info's name will be spi->dev->name. It consists of spi_master->bus_num, and the spi_master-