device/config.proto: Add EC enum/field

This new field specifies what type of EC is present on the device: a
Chrome EC, a Wilco EC, or none/unspecified.
If unspecified, assume there is no EC present.

The underlying objective here is to be able to use EC as a dependency
for Tast tests. That way, test writers will be able to skip certain
tests on devices that do not have an EC, or do not have the correct type
of EC.

BUG=b:162106528
TEST=generate.sh

Change-Id: I568127d970ef751c2cb1467c66ce5408eecc5d6d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/infra/proto/+/2375909
Reviewed-by: Andrew Lamb <andrewlamb@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
Reviewed-by: Justin TerAvest <teravest@chromium.org>
Tested-by: Greg Edelston <gredelston@google.com>
Commit-Queue: Greg Edelston <gredelston@google.com>
2 files changed