mb/google/hatch: Initialize GPIO_PCH_WP early in boot
commitec645cb086883f8bf147cce584d2fe31536a9537
authorRizwan Qureshi <rizwan.qureshi@intel.com>
Sun, 24 Feb 2019 07:27:41 +0000 (24 12:57 +0530)
committerPatrick Georgi <pgeorgi@google.com>
Wed, 27 Feb 2019 11:05:38 +0000 (27 11:05 +0000)
treea7eb7fabede7d3fae79bdd49750688a334f10503
parentba482d3972d73a8e899f7a6034c2027778db590f
mb/google/hatch: Initialize GPIO_PCH_WP early in boot

Initialize GPIO_PCH_WP early in boot. Update cros_gpios[] array with
GPIO_PCH_WP information. Also, Configure recovery mode GPIO as virtual
since hatch does not have one.

BUG=b:125943273

Change-Id: I0b7e6dbf9229941aca4952965fb54f07457dccae
Signed-off-by: Rizwan Qureshi <rizwan.qureshi@intel.com>
Reviewed-on: https://review.coreboot.org/c/31599
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
src/mainboard/google/hatch/variants/baseboard/gpio.c