summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-08-21 17:12:20 +0100
committerGerrit <chrome-bot@google.com>2012-08-27 14:27:14 -0700
commiteb2348d05f00839d28b98936deff3c925e180749 (patch)
treea8f81085482529c58ecceca57c4906b303baada0 /README
parentd7ed508b66dc50b408b0a6a49b2c5558157b3826 (diff)
downloadchrome-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--README7
1 files changed, 7 insertions, 0 deletions
diff --git a/README b/README
index 1efc6a730c..3a122e1894 100644
--- a/README
+++ b/README
@@ -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.