
On Thu, Aug 8, 2019 at 9:50 PM Bin Meng bmeng.cn@gmail.com wrote:
On Fri, Aug 2, 2019 at 2:38 PM Bernhard Messerklinger bernhard.messerklinger@br-automation.com wrote:
With the introduction of the new spi-mem model operations changed slightly. The new spi-mem operations make things a bit easier to handle for ich-spi flash interface. This patch converts the ich-spi driver by using spi-mem operations.
Signed-off-by: Bernhard Messerklinger bernhard.messerklinger@br-automation.com
Changes in v4:
- fix changelog; fix local variable types and order
Changes in v3:
- update erase op code handling to work with latest master
spi-nor driver Changes in v2:
- make 2 routines static; update commit message a little bit
drivers/spi/ich.c | 258 +++++++++++++++++----------------------------- drivers/spi/ich.h | 9 +- 2 files changed, 95 insertions(+), 172 deletions(-)
Reviewed-by: Bin Meng bmeng.cn@gmail.com
Tested on Intel CrownBay and MinnowMax Tested-by: Bin Meng bmeng.cn@gmail.com
applied to u-boot-x86, thanks!