Aseda Aboagye fa63597371 GLaDOS: Add 3ms delay to end of chipset_resume.
This commit fixes two issues:

 - When we transition from S3 to S0, we enable the sensor rail.  Very
   shortly thereafter, we attempt to initialize the motion sensors.
   They fail on the very first i2c transaction due to the fact that the
   senors are not ready.  Therefore, this commit adds a small 3ms delay
   to the end of the board_chipset_resume() hook.  This allows both the
   motion sensors to initialize successfully when the motion sense hook
   is called.

 - In order for the delay to be effective, it must be called prior to
   the motion sense hook.  Therefore, the priority of
   board_chipset_resume() is increased.

BUG=chrome-os-partner:43494
BRANCH=None
TEST=Build and flash GLaDOS EC, reboot several times verifying that both
sensors are initialized.
TEST=make buildall tests

Change-Id: I86ee87955f0750cac1960be147c2b39c7d922f0a
Signed-off-by: Aseda Aboagye <aaboagye@google.com>
Reviewed-on: https://chromium-review.googlesource.com/299769
Commit-Ready: Aseda Aboagye <aaboagye@chromium.org>
Tested-by: Aseda Aboagye <aaboagye@chromium.org>
Reviewed-by: Alec Berg <alecaberg@chromium.org>
2015-09-15 17:56:17 -07:00
2015-05-07 00:00:47 +00:00
2015-08-15 01:32:39 +00:00
2012-05-11 09:11:52 -07:00
2014-04-02 19:58:53 +00:00
2014-05-15 05:20:14 +00:00

For an overview of the Embedded Controller firmware, refer to

http://www.chromium.org/chromium-os/2014-firmware-summit
Description
No description provided
Readme 1.4 GiB
Languages
C 64.7%
Lasso 20.7%
ASL 3.6%
JavaScript 3.2%
C# 2.9%
Other 4.6%