mb/g/drallion: Consolidate 360 sensor board detection
commit51b1fc6e3929229e997fe16aa8f653bfcd112eeb
authorMathew King <mathewk@chromium.org>
Mon, 4 Nov 2019 19:29:41 +0000 (4 12:29 -0700)
committerPatrick Georgi <pgeorgi@google.com>
Wed, 6 Nov 2019 13:58:00 +0000 (6 13:58 +0000)
treeda96d91f4bdd1f39fba87021c40bd7e6bae2aea7
parent763eeecb30ed09cdfedbb811aacd19f24478afee
mb/g/drallion: Consolidate 360 sensor board detection

Create a single function to determine if the 360 sensor board is present
on a device.

BUG=b:143701965
TEST='emerge-drallion coreboot'

Change-Id: I4100a9fdcfe6b7134fb238cb291cb5b0af4ec169
Signed-off-by: Mathew King <mathewk@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/36617
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: EricR Lai <ericr_lai@compal.corp-partner.google.com>
src/mainboard/google/drallion/variants/drallion/gpio.c
src/mainboard/google/drallion/variants/drallion/include/variant/variant.h
src/mainboard/google/drallion/variants/drallion/sku.c