google/kukui: Set up EC_IN_RW GPIO for ChromeOS
commit1f64e6aa85b0560b0cbc8b7f08970efa56d27d3a
authorTristan Shieh <tristan.shieh@mediatek.com>
Thu, 13 Sep 2018 11:28:15 +0000 (13 19:28 +0800)
committerPatrick Georgi <pgeorgi@google.com>
Fri, 21 Sep 2018 07:08:36 +0000 (21 07:08 +0000)
treea2fa71c22f6cccb033adb935f57281a409a86c13
parentd1d3e62f92cb918d678763d4f990f6badf65caa3
google/kukui: Set up EC_IN_RW GPIO for ChromeOS

Set up EC_IN_RW GPIO to boot depthcharge. Without this patch,
depthcharge will fail to tell if the EC firmware is RW.

BUG=b:80501386
BRANCH=none
TEST=Boots correctly on Kukui and see in logs, that depthcharge detects
     EC_IN_RW GPIO.

Change-Id: Icb39d663f65b72e0ad54059c9590d9693106ee25
Signed-off-by: Tristan Shieh <tristan.shieh@mediatek.com>
Reviewed-on: https://review.coreboot.org/28670
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/mainboard/google/kukui/chromeos.c
src/mainboard/google/kukui/gpio.h