diff options
author | Aaron Durbin <adurbin@chromium.org> | 2019-12-27 11:47:05 -0700 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2020-01-03 23:06:32 +0000 |
commit | 173620a88dfe3afec1733d7bec8846406f9c8946 (patch) | |
tree | 35950e3e8c541aac02d126ae463d281268dd94a3 /src/drivers/pc80 | |
parent | 1513d72a38e7f643c9499fc2079a99a75f0eac3c (diff) |
soc/amd/common/block/spi: remove code duplication
This removes all the duplicated code and logic and leverages
the existing ones in libraries themselves. The current side
effect is that protection cannot be fully enabled because the
read, write, and write enable command are not exposed in struct
spi_flash currently. That support can be revised if protection
scheme makes sense for our use-cases once it's better understood.
BUG=b:146928174
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Change-Id: I8faf9cc719ee33dd9f03fb74b579b02bbc6a5e2e
Reviewed-on: https://review.coreboot.org/c/coreboot/+/37957
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers/pc80')
0 files changed, 0 insertions, 0 deletions