aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Schulz <quentin.schulz@theobroma-systems.com>2023-08-04 10:54:35 +0200
committerQuentin Schulz <quentin.schulz@theobroma-systems.com>2023-08-04 10:54:35 +0200
commit525b4e46965cc03db69ae9184ece2a3b6ce48778 (patch)
tree121e5a21cc19431a39c9881696130cc35992465d
parentc0d5e986689d5cd6c2b76ddd5a7673d5b1bf7fe9 (diff)
usb-control: cp2102_haikou.py: fix biosdisable command
The biosdisable command was mistakenly setting the mode to normal instead of BIOS_DISABLE, let's fix this. Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
-rw-r--r--usb-control/cp2102_haikou.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/usb-control/cp2102_haikou.py b/usb-control/cp2102_haikou.py
index c94788c..c6ac6bf 100644
--- a/usb-control/cp2102_haikou.py
+++ b/usb-control/cp2102_haikou.py
@@ -119,7 +119,7 @@ def main(product_string):
'show status of attached Haikou Baseboards'),
'normalboot': (do_normalboot,
'set bootmode to normal boot'),
- 'biosdisable': (do_normalboot,
+ 'biosdisable': (do_biosdisable,
'set bootmode to BIOS disabled'),
'powerbutton': (do_powerbutton,
'emulate power button press'),