Skip to content
Commit 03e296f6 authored by Brian Norris's avatar Brian Norris
Browse files

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: default avatarHuang Shijie <b32955@freescale.com>
Acked-by: default avatarMarek Vasut <marex@denx.de>
[Brian: rebased]
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent 1ef39108
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment