util/intelmetool: Fix bootguard dump
commit405d2eabe075444c77df2d9c7949c1125c120ce3
authorPatrick Rudolph <patrick.rudolph@9elements.com>
Fri, 2 Feb 2018 13:43:28 +0000 (2 14:43 +0100)
committerPhilipp Deppenwiese <zaolin.daisuki@gmail.com>
Mon, 16 Apr 2018 22:27:14 +0000 (16 22:27 +0000)
tree031aecd96d17c6c60d828049cd0513077349bad2
parent0391d0b023fb66dc2d1fe4c0873424d75ab4bbf3
util/intelmetool: Fix bootguard dump

* Fix broken bootguard report on Intel ME 9.5+
* Fix broken debug statement
* Add additional rehide_me()
* Move last rehide_me()

Tested on Lenovo T470p. It shows correct BootGuard state:
Verified & Measured Boot.

Tested on Lenovo T430. It shows correct BootGuard state: Disabled.

Change-Id: Ib6c49ee39dd9962a4981e7de19b1c98c753f2944
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/25400
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
util/intelmetool/intelmetool.c