| # Copyright (c) 2013 The Chromium OS Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| """Default configuration values for FAFT tests go into this file. |
| |
| For the ability to override these values on a platform specific basis, please |
| refer to the config object implementation. |
| """ |
| |
| |
| class Values(object): |
| """We have a class here to allow for inheritence. This is less important |
| defaults, but very helpful for platform overrides. |
| """ |
| |
| mode_switcher_type = 'keyboard_dev_switcher' |
| |
| chrome_ec = False |
| chrome_usbpd = False |
| dark_resume_capable = False |
| has_lid = True |
| has_keyboard = True |
| has_powerbutton = True |
| power_button_dev_switch = False |
| rec_button_dev_switch = False |
| ec_capability = list() |
| cr50_capability = list() |
| spi_voltage = 'pp1800' |
| |
| # The max input voltage for USB Type-C port |
| usbc_input_voltage_limit = 20 |
| |
| # Has a custom charger profile, which takes over the control of voltage/ |
| # current limit |
| charger_profile_override = False |
| |
| # Has eventlog support including proper timestamps. (Only for old boards! |
| # Never disable this "temporarily, until we get around to implementing it"!) |
| has_eventlog = True |
| |
| # Delay between power-on and firmware screen |
| firmware_screen = 10 |
| |
| # Delay between reboot and first ping response from the DUT |
| # When this times out, it indicates we're stuck at a firmware screen. |
| # Hence, bypass action has to be taken if we want to proceed. |
| delay_reboot_to_ping = 30 |
| |
| # Delay between keypresses in firmware screen |
| confirm_screen = 3 |
| |
| # The developer screen timeouts fit our spec |
| dev_screen_timeout = 30 |
| |
| # Delay between power-on and plug USB |
| usb_plug = 10 |
| |
| # Delay for waiting client to shutdown |
| shutdown = 30 |
| |
| # Timeout of confirming DUT shutdown |
| shutdown_timeout = 60 |
| |
| # Delay between EC boot and ChromeEC console functional |
| ec_boot_to_console = 1.2 |
| |
| # Delay between EC boot and pressing power button |
| ec_boot_to_pwr_button = 0.5 |
| |
| # EC, if present, supports 'powerbtn' console command |
| ec_has_powerbtn_cmd = True |
| |
| # Delay for waiting EC turning off the AP |
| ec_reboot_to_g3_delay = 0 |
| |
| # Delay of EC software sync hash calculating time |
| software_sync = 6 |
| |
| # Delay of EC software sync updating EC |
| software_sync_update = 2 |
| |
| # Duration of holding power button to power off DUT normally |
| hold_pwr_button_poweroff = 5 |
| |
| # Duration of holding power button to power on DUT normally |
| # (also known as SHORT_DELAY in hdctools) |
| hold_pwr_button_poweron = 0.2 |
| |
| # Delay after /sbin/shutdown before pressing power button |
| powerup_ready = 10 |
| |
| # Time in second to wait after changing servo state for programming |
| servo_prog_state_delay = 0 |
| |
| # Timeout of confirming DUT doesn't boot on USB image in Recovery screen |
| usb_image_boot_timeout = 180 |
| |
| # Check SMMSTORE exists in FMap for x86 boards |
| smm_store = True |
| |
| # True if the lid can wake the system from a powered off state |
| lid_wake_from_power_off = True |
| |
| # True if AP can access the EC flash while Chrome OS is running |
| ap_access_ec_flash = True |
| |
| # True if the device supports power_state:rec_force_mrc, which forces memory |
| # retraining in recovery mode |
| rec_force_mrc = True |
| |
| # True if the GSC can wake the EC with it's reset GPIO. |
| gsc_can_wake_ec_with_reset = True |
| |
| # True if AP is normally expected to be powered on after the Cr50 reboots |
| # (when AC power is connected). |
| ap_up_after_cr50_reboot = True |
| |
| # True if the EC will send short power button presses, such as those |
| # expected during CCD open, to the AP. |
| ec_forwards_short_pp_press = False |
| |
| # Length of serial number that can be set in firmware; if serial number |
| # cannot be set then 0 |
| serial_number_length = 0 |
| |
| # True if the chrome devices has power button. |
| has_power_button = True |
| |
| # True if altfw/diag is built into RW_LEGACY. |
| has_diagnostics_image = False |