commit | a3140d0b18058610a2694fc3592031a849b0c92a | [log] [tgz] |
---|---|---|
author | Nico Huber <nico.h@gmx.de> | Sun Oct 15 11:20:58 2017 +0200 |
committer | Nico Huber <nico.h@gmx.de> | Thu Dec 28 10:41:38 2017 +0000 |
tree | 194083a9889bb76a70cb447a14660d6ec449506c | |
parent | c8801734727e1e510cbd99e305007b73f9f57e93 [diff] |
spi25: Introduce spi_simple_write_cmd() spi_simple_write_cmd() executes WREN plus a single byte write and polls WIP afterwards. It's used to replace current spi_erase_chip_*() imple- mentations. Change-Id: Ib244356fa471e15863b52e6037899d19113cb4a9 Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/22382 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: David Hendricks <david.hendricks@gmail.com>