mb/google/kukui: change Jacuzzi followers LCMID to fixed value
commitbd21476f99785b83f45ad4ec02ed4e140505f912
authorKevin Chiu <Kevin.Chiu@quantatw.com>
Thu, 15 Oct 2020 06:39:21 +0000 (15 14:39 +0800)
committerHung-Te Lin <hungte@chromium.org>
Tue, 27 Oct 2020 04:15:46 +0000 (27 04:15 +0000)
treecbf32fe430b08e2dd17be9897c652f089b64e152
parent955ce24afc1e6fd1ec3ea00efbadf62626a16c0a
mb/google/kukui: change Jacuzzi followers LCMID to fixed value

The LCM ID is not really used on Jacuzzi followers and the reference
design expects ADC to return 0. However, there were hardware design
issues so the returned value became unexpected numbers.

 - Juniper and Kappa returns 1.
 - Burnet and Esche returns 1 on normal boot, and 0 on recovery boot.
 - Cerise and Stern usually returns 0, and sometimes 1.

To fix that, we are changing LCM ID to fixed value for Jacuzzi followers.

BUG=b:170916885,b:171365301
BRANCH=kukui
TEST=1. emerge-jacuzzi coreboot
     2. check burnet/esche skuid correctly

Change-Id: I3b43b9153315ec65e9168c4e84ea844dff14d446
Signed-off-by: Kevin Chiu <kevin.chiu@quantatw.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/46442
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
src/mainboard/google/kukui/Kconfig
src/mainboard/google/kukui/boardid.c