parrot.py revision 103441a0d4b3095c0be1e180686e65a97ebede80
1# Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5"""FAFT config setting overrides for Parrot."""
6
7
8class Values(object):
9    # Parrot uses UART to switch to rec mode instead of gpio thus to
10    # clear rec_mode, devices needs to be sufficiently booted.
11    ec_boot_to_console = 4
12
13    # Parrot takes slightly longer to get to dev screen.
14    dev_screen = 8
15    broken_warm_reset = True
16    dark_resume_capable = True
17    key_checker = [[0x29, 'press'],
18                   [0x32, 'press'],
19                   [0x32, 'release'],
20                   [0x29, 'release'],
21                   [0x47, 'press'],
22                   [0x47, 'release']]
23