summaryrefslogtreecommitdiff
path: root/chip/g/build.mk
diff options
context:
space:
mode:
authorBill Richardson <wfrichar@chromium.org>2016-03-29 20:31:22 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-03-30 20:38:12 -0700
commit91684d5e33396caccd4b91791e41c0a240764830 (patch)
treee105f879a11bd380dd42405185ea83be59036d23 /chip/g/build.mk
parent19bfaa46e5d11f57d219962b6968f2518147a371 (diff)
downloadchrome-ec-91684d5e33396caccd4b91791e41c0a240764830.tar.gz
Cr50: Add stubs to support low-power idle
This just adds the framework to use for implementing sleep and deep-sleep. This provides a custom idle task, and a new "idle" console command to control what that task should do (nothing, yet). BUG=chrome-os-partner:49955 BRANCH=none TEST=make buildall; test on Cr50 Other than the new idle command which does nothing, there is no visible change. This is just a stub. Change-Id: I8a9b82ca68dd6d1e3e7275f4f6753a23a7448f1d Signed-off-by: Bill Richardson <wfrichar@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/336420 Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'chip/g/build.mk')
-rw-r--r--chip/g/build.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/chip/g/build.mk b/chip/g/build.mk
index 0d8ae631b2..d6df5d228c 100644
--- a/chip/g/build.mk
+++ b/chip/g/build.mk
@@ -48,6 +48,8 @@ chip-$(CONFIG_USB_CONSOLE)+=usb_console.o
chip-$(CONFIG_USB_HID)+=usb_hid.o
chip-$(CONFIG_USB_BLOB)+=usb_blob.o
+chip-$(CONFIG_LOW_POWER_IDLE)+=idle.o
+
chip-$(CONFIG_FLASH)+=flash.o
dirs-y += chip/g/dcrypto