From: Brian Norris Date: Thu, 20 Mar 2014 12:00:12 +0000 (-0700) Subject: mtd: m25p80: use the SPI nor framework X-Git-Tag: omap-for-v3.16/fixes-against-rc1~57^2~43^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03e296f613affcc2671c1e86d8c25ecad867204e;p=pandora-kernel.git mtd: m25p80: use the SPI nor framework Use the new SPI nor framework, and rewrite the m25p80: (0) remove all the NOR comands. (1) change the m25p->command to an array. (2) implement the necessary hooks, such as m25p80_read/m25p80_write. Tested with the m25p32. Signed-off-by: Huang Shijie Acked-by: Marek Vasut [Brian: rebased] Signed-off-by: Brian Norris --- Reading git-diff-tree failed