[coreboot-gerrit] Change in coreboot[master]: drivers/spi: Add support for flash protections

Patrick Rudolph (Code Review) gerrit at coreboot.org
Tue Jul 31 16:15:43 CEST 2018


Patrick Rudolph has uploaded a new patch set (#2). ( https://review.coreboot.org/27751 )

Change subject: drivers/spi: Add support for flash protections
......................................................................

drivers/spi: Add support for flash protections

If the SPI controller doesn't have protected regions, try to directly
lock the flash. Requires vendor specific code (Winbond ATM).

Tested on Cavium EVB CN81xx using W25Q128.

Change-Id: I03eac2fc1c3ac6cd15125b1042e31c507ea94e65
Signed-off-by: Patrick Rudolph <patrick.rudolph at 9elements.com>
---
M src/drivers/spi/spi_flash.c
M src/include/spi_flash.h
2 files changed, 29 insertions(+), 6 deletions(-)


  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/51/27751/2
-- 
To view, visit https://review.coreboot.org/27751
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I03eac2fc1c3ac6cd15125b1042e31c507ea94e65
Gerrit-Change-Number: 27751
Gerrit-PatchSet: 2
Gerrit-Owner: Patrick Rudolph <patrick.rudolph at 9elements.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180731/a74a6dd1/attachment.html>


More information about the coreboot-gerrit mailing list