mb/google/hatch: Query the EC for board version
commit59bd2318dd6278444942f8d353675d43d14d7d16
authorIvy Jian <ivy_jian@compal.corp-partner.google.com>
Tue, 12 Mar 2019 10:05:18 +0000 (12 18:05 +0800)
committerPatrick Georgi <pgeorgi@google.com>
Thu, 14 Mar 2019 11:27:22 +0000 (14 11:27 +0000)
tree340143dc0503ef3ee711f564bba9f901dd473e26
parent9e8da228287a12fa480149cda22817e4ada87afa
mb/google/hatch: Query the EC for board version

The board version is part of EC's EEPROM, select Kconfig items to enable
requesting the EC for board version.

BUG=b:128385395
TEST=Verified the mainboard version is from EC's EEPROM.

Change-Id: I4bc1cac43c6cf73522f3a4bee89cc000a430d996
Signed-off-by: Ivy Jian <ivy_jian@compal.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/31858
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/mainboard/google/hatch/Kconfig