mb/google/cherry: replace magic numbers by the I2C bus name
commit97582de4487fa6caa50a60ada91f52a0e10943b8
authorRex-BC Chen <rex-bc.chen@mediatek.corp-partner.google.com>
Thu, 22 Jul 2021 03:16:15 +0000 (22 11:16 +0800)
committerHung-Te Lin <hungte@chromium.org>
Fri, 23 Jul 2021 06:01:52 +0000 (23 06:01 +0000)
treeb0b2a6efa7cbe181eb5f6feef66b1c459f1671f2
parent1b7dac1bd016a224b49bc5f66e7919d0b69147dd
mb/google/cherry: replace magic numbers by the I2C bus name

When accessing I2C, we should use the official names (I2Cx)
instead of magic numbers.

Signed-off-by: Rex-BC Chen <rex-bc.chen@mediatek.com>
Change-Id: I17cc4c87f5ad26deeb5e529d1c106b697a53591b
Reviewed-on: https://review.coreboot.org/c/coreboot/+/56504
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/mainboard/google/cherry/mainboard.c
src/mainboard/google/cherry/romstage.c