crossystem: arm: support active-high WP and RECOVERY GPIOs

Some systems have an active-high GPIO for reading WP status, so support
an inverted name for that.

While we're at it, do this for recovery too, just in case someone needs
it.

BRANCH=none
BUG=b:197258688
TEST=play with servo's `fw_wp_state`, check `crossystem wpsw_cur` on
     kevin-kernelnext + DTS change

Signed-off-by: Brian Norris <briannorris@chromium.org>
Change-Id: I28ad566568d6dc62843d0bc9b75cca1fc1a35633
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3108068
Reviewed-by: Julius Werner <jwerner@chromium.org>
1 file changed