diff options
author | Denis Brockus <dbrockus@google.com> | 2021-07-29 16:05:56 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-07-29 23:00:20 +0000 |
commit | 94aa170edecde87bc8331021540a1f9692b21569 (patch) | |
tree | b22efd49b7539fc0b341f7320bf2be4d8feddcfb | |
parent | 9e38a616f13b99f70d042a8c569f77c58d8ac5ef (diff) | |
download | chrome-ec-94aa170edecde87bc8331021540a1f9692b21569.tar.gz |
common: system: always define host_command_get_board_version
There are platforms that have board defined get_board_version
and they should be allowed to have host_command_get_board_version
even if CONFIG_BOARD_VERSION_* are not defined.
BUG=none
BRANCH=none
TEST=make buildall
TEST=zmake configure -b $PROJ_HAYATO
Signed-off-by: Denis Brockus <dbrockus@google.com>
Change-Id: I6e2765b40c7cbada82a8ace305899f2e319157c3
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3058354
Tested-by: Denis Brockus <dbrockus@chromium.org>
Auto-Submit: Denis Brockus <dbrockus@chromium.org>
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Commit-Queue: Jack Rosenthal <jrosenth@chromium.org>
-rw-r--r-- | common/system.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/common/system.c b/common/system.c index f88fb69072..236b886f1d 100644 --- a/common/system.c +++ b/common/system.c @@ -1638,7 +1638,6 @@ DECLARE_HOST_COMMAND(EC_CMD_GET_CHIP_INFO, host_command_get_chip_info, EC_VER_MASK(0)); -#if defined(CONFIG_BOARD_VERSION_CBI) || defined(CONFIG_BOARD_VERSION_GPIO) enum ec_status host_command_get_board_version(struct host_cmd_handler_args *args) { @@ -1659,7 +1658,6 @@ host_command_get_board_version(struct host_cmd_handler_args *args) DECLARE_HOST_COMMAND(EC_CMD_GET_BOARD_VERSION, host_command_get_board_version, EC_VER_MASK(0)); -#endif enum ec_status host_command_reboot(struct host_cmd_handler_args *args) { |