summaryrefslogtreecommitdiff
path: root/src/commonlib/storage/storage_erase.c
diff options
context:
space:
mode:
authorPatrick Rudolph <patrick.rudolph@9elements.com>2020-05-25 12:18:11 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-06-17 09:16:51 +0000
commit802cbee78956afa6fad209d279f6d99e33ea85dd (patch)
tree57a725392cbb47b1b5b8d5e80081c9d9575ee68c /src/commonlib/storage/storage_erase.c
parentaeacf8b444d575abdaf52acf23edf8bc89f52d21 (diff)
ifdtool: Improve PCH strap handling
Read the PCH Strap Length field in FLMAP1 as described in the "SPI Programming Guide" and print the number of fields specified there. This code dumps the following straps: * Intel GM45: 8 straps * Intel C216: 72 straps * Intel C240: 360 straps Add a new function to easily set PCH straps, which is useful for debugging. Change-Id: Ieb7891b214d82c984379794de9b3fe1a6d0d3466 Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41693 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Philipp Hug <philipp@hug.cx> Reviewed-by: Christian Walter <christian.walter@9elements.com> Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Diffstat (limited to 'src/commonlib/storage/storage_erase.c')
0 files changed, 0 insertions, 0 deletions