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

2014-02-10 Thread Brian Norris
; Wood Scott- B07421; Hu Mingkai-B21284; Ezequiel Garcia Subject: Re: [PATCH] mtd: m25p80: Make the name of mtd_info fixed On Mon, Jan 06, 2014 at 02:34:29PM +0800, Hou Zhiqiang wrote: --- a/drivers/mtd/devices/m25p80.c +++ b/drivers/mtd/devices/m25p80.c @@ -1012,7 +1012,8 @@ static

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

2014-01-22 Thread Brian Norris
Hi Hou, On Mon, Jan 06, 2014 at 02:34:29PM +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

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

2014-01-22 Thread b48...@freescale.com
; Ezequiel Garcia Subject: Re: [PATCH] mtd: m25p80: Make the name of mtd_info fixed Hi Hou, On Mon, Jan 06, 2014 at 02:34:29PM +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

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

2014-01-06 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