Re: [v3] mtd: m25p80: Modify the name of mtd_info

2014-04-16 Thread Brian Norris
On Sat, Mar 22, 2014 at 1:55 AM, Hou Zhiqiang b48...@freescale.com wrote: v3: Fix a bug, matching unsigned long long with %llx. v2: 1. Fix some code style issue. 2. Cast physical address to unsigned long long. I missed v2 and v3 and commented on v1 instead, sorry.

[v3] mtd: m25p80: Modify the name of mtd_info

2014-03-22 Thread Hou Zhiqiang
To specify spi flash layouts by mtdparts=... in cmdline, we must give mtd_info a fixed name,because the cmdlinepart's parser will match the name of mtd_info given in cmdline. Now, if use DT, the mtd_info's name will be spi-dev-name. It consists of spi_master-bus_num, and the spi_master-bus_num