diff options
author | Andrew McRae <amcrae@google.com> | 2020-06-20 11:48:59 +1000 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-06-23 03:17:54 +0000 |
commit | 131f7dc96e1c794befabdd8b182c7d5a190b58cc (patch) | |
tree | cdab2380508491fe000509b8544f3b41677d87af /board/puff/Makefile | |
parent | baceadc0e81945b1ca0e58ae09d3d4724a991d40 (diff) | |
download | chrome-ec-131f7dc96e1c794befabdd8b182c7d5a190b58cc.tar.gz |
npcx: Add a new flag to check for initial power-on
The CR50 will reset the EC on some platforms after power-on.
Add a reset flag to detect this and treat the second
restart as a power-on restart rather than reset.
Subsume the CONFIG_GPIO_INIT_POWER_ON_DELAY_MS config
to make it clear what the behaviour will be.
BUG=b:151329011
TEST=Confirm on dalboz, puff & variants that second reset is
treated correctly.
BRANCH=none
Change-Id: Ib66de920403f08099b87d1eff797270606b44f8f
Signed-off-by: Andrew McRae <amcrae@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2255830
Reviewed-by: Peter Marheine <pmarheine@chromium.org>
Commit-Queue: Andrew McRae <amcrae@chromium.org>
Tested-by: Andrew McRae <amcrae@chromium.org>
Diffstat (limited to 'board/puff/Makefile')
0 files changed, 0 insertions, 0 deletions