diff options
author | Philip Chen <philipchen@google.com> | 2021-06-07 12:11:03 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-06-16 03:38:00 +0000 |
commit | 8b76bbe2f5a162f21cc78fdafd49225e28a1cc02 (patch) | |
tree | 53e19b3e3420f6929bd148c283c6454ceda37797 /common/peripheral.c | |
parent | 9f540598b57f5305e13b1f9cccad21bad0fb7f4e (diff) | |
download | chrome-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 'common/peripheral.c')
-rw-r--r-- | common/peripheral.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/peripheral.c b/common/peripheral.c index 58ca0dbffd..e70ec19347 100644 --- a/common/peripheral.c +++ b/common/peripheral.c @@ -18,7 +18,7 @@ static enum ec_status hc_locate_chip(struct host_cmd_handler_args *args) switch (params->type) { case EC_CHIP_TYPE_CBI_EEPROM: -#ifdef CONFIG_CROS_BOARD_INFO +#ifdef CONFIG_CBI_EEPROM if (params->index >= 1) return EC_RES_OVERFLOW; resp->bus_type = EC_BUS_TYPE_I2C; @@ -27,7 +27,7 @@ static enum ec_status hc_locate_chip(struct host_cmd_handler_args *args) #else /* Lookup type is supported, but not present on system. */ return EC_RES_UNAVAILABLE; -#endif /* CONFIG_CROS_BOARD_INFO */ +#endif /* CONFIG_CBI_EEPROM */ break; case EC_CHIP_TYPE_TCPC: #if defined(CONFIG_USB_POWER_DELIVERY) && defined(CONFIG_USB_PD_PORT_MAX_COUNT) && !defined(CONFIG_USB_PD_TCPC) |