diff options
author | Brian J. Nemec <bnemec@chromium.org> | 2020-05-27 22:18:09 -0700 |
---|---|---|
committer | Ruben Rodriguez Buchillon <coconutruben@chromium.org> | 2020-06-02 17:24:42 +0000 |
commit | dba753130cd341c047afd652ab28a2b099dde9ee (patch) | |
tree | 02957d13c2bb810706e2877ca343f9ee0f57b488 /extra | |
parent | 785f968014cac6ed6f77e09a379beb78c12dc5ff (diff) | |
download | chrome-ec-dba753130cd341c047afd652ab28a2b099dde9ee.tar.gz |
servo_updater: Updates the Servo V4.1 name
Updates the Servo V4.1 name from 'servo_v41' to 'servo_v4p1'
and the corresponding files and fields. As the VID:PID is
used to identify the device, no other changes are required.
BUG=b:157059356
BRANCH=servod
TEST=Updated the ServoV4.1 from 'servo_v41_v2.0.3735+440cf71e0' to
'servo_v4p1_v2.0.4232-514cb4e92' to verify the servo_updater
supports renames.
TEST=Verified servo_v4p1 manually: Validated console, firmware
update, and servod can connect to the device.
Signed-off-by: Brian Nemec <bnemec@chromium.org>
Depends-On: Ia05134179fab4ff118355ba9b3b1b92cdf0748f2
Change-Id: Ie470469bf9115bbfef14a08c02b156dcd5aed849
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2219124
Tested-by: Brian Nemec <bnemec@chromium.org>
Reviewed-by: Ruben Rodriguez Buchillon <coconutruben@chromium.org>
Diffstat (limited to 'extra')
-rwxr-xr-x | extra/usb_updater/servo_updater.py | 2 | ||||
-rw-r--r-- | extra/usb_updater/servo_v4p1.json (renamed from extra/usb_updater/servo_v41.json) | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/extra/usb_updater/servo_updater.py b/extra/usb_updater/servo_updater.py index 20f0245f77..f899e158bc 100755 --- a/extra/usb_updater/servo_updater.py +++ b/extra/usb_updater/servo_updater.py @@ -24,7 +24,9 @@ class ServoUpdaterException(Exception): BOARD_C2D2 = 'c2d2' BOARD_SERVO_MICRO = 'servo_micro' BOARD_SERVO_V4 = 'servo_v4' +BOARD_SERVO_V4P1 = 'servo_v4p1' BOARD_SWEETBERRY = 'sweetberry' + DEFAULT_BOARD = BOARD_SERVO_V4 DEFAULT_BASE_PATH = '/usr/' diff --git a/extra/usb_updater/servo_v41.json b/extra/usb_updater/servo_v4p1.json index 6a5b367450..46efbf24ad 100644 --- a/extra/usb_updater/servo_v41.json +++ b/extra/usb_updater/servo_v4p1.json @@ -1,6 +1,6 @@ { "Comment": "This file describes the updateable sections of the flash.", - "board": "servo_v41", + "board": "servo_v4p1", "vid": "0x18d1", "pid": "0x520d", "console": "0", |