New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 613699 link

Starred by 1 user

Issue metadata

Status: Archived
Owner:
Closed: Jun 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

ec: Put RTC / RTC wake code behind a config option

Project Member Reported by sha...@chromium.org, May 20 2016

Issue description

We don't use RTC host commands or RTC wake on most systems. We can put this functionality behind a CONFIG such as CONFIG_RTC or CONFIG_RTC_WAKE.

.. and don't forget to put the interrupt handling __gpio_rtc_interrupt() behind the new CONFIG as well.
 

Comment 1 by sha...@chromium.org, Jun 16 2016

Owner: philipchen@chromium.org

Comment 2 by sha...@chromium.org, Jun 22 2016

Let's put this all behind CONFIG_RTC.
Project Member

Comment 3 by bugdroid1@chromium.org, Jun 30 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/platform/ec/+/0cab97574be2a2d1be35af3985425f898df6a731

commit 0cab97574be2a2d1be35af3985425f898df6a731
Author: philipchen <philipchen@google.com>
Date: Sat Jun 25 22:32:11 2016

Cleanup: gate RTC console/host command behind new config options

Put RTC code supporting console/host command behind
new flags 'CONFIG_CMD_RTC'/'CONFIG_HOSTCMD_RTC'

BUG= chromium:613699 
TEST=make buildall
BRANCH=master

Change-Id: Ida52265d124978f48bd6ca522be3badee9f99588
Reviewed-on: https://chromium-review.googlesource.com/356206
Commit-Ready: Philip Chen <philipchen@chromium.org>
Tested-by: Philip Chen <philipchen@chromium.org>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Reviewed-by: Shawn N <shawnn@chromium.org>

[modify] https://crrev.com/0cab97574be2a2d1be35af3985425f898df6a731/chip/npcx/system.c
[modify] https://crrev.com/0cab97574be2a2d1be35af3985425f898df6a731/board/kevin/board.h
[modify] https://crrev.com/0cab97574be2a2d1be35af3985425f898df6a731/chip/lm4/system.c
[modify] https://crrev.com/0cab97574be2a2d1be35af3985425f898df6a731/chip/npcx/gpio.c
[modify] https://crrev.com/0cab97574be2a2d1be35af3985425f898df6a731/include/config.h

Status: Fixed (was: Untriaged)
Labels: VerifyIn-54

Comment 6 by dchan@chromium.org, Oct 7 2016

Labels: VerifyIn-55

Comment 7 by dchan@google.com, Nov 19 2016

Labels: VerifyIn-56

Comment 8 by dchan@google.com, Jan 21 2017

Labels: VerifyIn-57

Comment 9 by dchan@google.com, Mar 4 2017

Labels: VerifyIn-58

Comment 10 by dchan@google.com, Apr 17 2017

Labels: VerifyIn-59

Comment 11 by dchan@google.com, May 30 2017

Labels: VerifyIn-60
Labels: VerifyIn-61

Comment 13 by dchan@chromium.org, Oct 14 2017

Status: Archived (was: Fixed)

Sign in to add a comment