diff options
author | Simon Glass <sjg@chromium.org> | 2012-08-21 17:12:20 +0100 |
---|---|---|
committer | Gerrit <chrome-bot@google.com> | 2012-08-27 14:27:14 -0700 |
commit | eb2348d05f00839d28b98936deff3c925e180749 (patch) | |
tree | a8f81085482529c58ecceca57c4906b303baada0 /README | |
parent | d7ed508b66dc50b408b0a6a49b2c5558157b3826 (diff) | |
download | chrome-ec-eb2348d05f00839d28b98936deff3c925e180749.tar.gz |
Make AC status feature optional at compile time
This feature is not actually used on current platforms. Avoid setting
up the GPIO unless it is specifically enabled.
BUG=chrome-os-partner:13064
BRANCH=snow
TEST=manual
build and boot on snow. See the AC power GPIO does not change when
un/plugging power.
Change-Id: I6731625a19f30f6dd35471b126f3083b39747203
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/31304
Reviewed-by: David Hendricks <dhendrix@chromium.org>
Diffstat (limited to 'README')
-rw-r--r-- | README | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -65,3 +65,10 @@ Build Options Define this to call configure_board_late() after initial system init is complete (and after GPIOs are set up). + +- CONFIG_AC_POWER_STATUS + + Monitor the state of the AC power input and drive out a GPIO to + the AP indicating this state. The GPIO will be driven low when + AC power is not connected, and high when it is connected. This + uses GPIO_AC_STATUS for this purpose. |