summaryrefslogtreecommitdiff
path: root/baseboard/grunt
diff options
context:
space:
mode:
authorPhilip Chen <philipchen@google.com>2021-06-07 12:11:03 -0700
committerCommit Bot <commit-bot@chromium.org>2021-06-16 03:38:00 +0000
commit8b76bbe2f5a162f21cc78fdafd49225e28a1cc02 (patch)
tree53e19b3e3420f6929bd148c283c6454ceda37797 /baseboard/grunt
parent9f540598b57f5305e13b1f9cccad21bad0fb7f4e (diff)
downloadchrome-ec-8b76bbe2f5a162f21cc78fdafd49225e28a1cc02.tar.gz
config: Rename CONFIG_CROS_BOARD_INFO
Rename CONFIG_CROS_BOARD_INFO to CONFIG_CBI_EEPROM to make it clear that the information comes from on-board EEPROM. It sets up the groundwork for adding more options of CBI sources later. BRANCH=None BUG=b:186264627 TEST=make buildall -j Signed-off-by: Philip Chen <philipchen@google.com> Change-Id: I9a6feee0a8b35bbf29e445544243485507767ad8 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2945792 Reviewed-by: Philip Chen <philipchen@chromium.org> Commit-Queue: Philip Chen <philipchen@chromium.org> Tested-by: Philip Chen <philipchen@chromium.org>
Diffstat (limited to 'baseboard/grunt')
-rw-r--r--baseboard/grunt/baseboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/baseboard/grunt/baseboard.c b/baseboard/grunt/baseboard.c
index ffd084c37a..d5761768e0 100644
--- a/baseboard/grunt/baseboard.c
+++ b/baseboard/grunt/baseboard.c
@@ -724,7 +724,7 @@ static void cbi_init(void)
* Use board version and SKU ID from CBI EEPROM if the board supports
* it and the SKU ID set via resistors + ADC is not valid.
*/
-#ifdef CONFIG_CROS_BOARD_INFO
+#ifdef CONFIG_CBI_EEPROM
if (sku_id == 0 || sku_id == 0xff) {
uint32_t val;