diff options
author | Vincent Palatin <vpalatin@chromium.org> | 2014-03-22 09:45:14 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-03-27 18:45:24 +0000 |
commit | b2d87dc18ad0c6049a48959f4c2d7dfddaf301f1 (patch) | |
tree | 5d391932665f8c71daaea0fe5dc90faec8719e82 | |
parent | 8f911f9285db6596e30d516a153aa0b24614eb5d (diff) | |
download | chrome-ec-b2d87dc18ad0c6049a48959f4c2d7dfddaf301f1.tar.gz |
compile charger driver independently of the charger task
The charger driver code has no dependency on the charger task,
we do not need to force the de-activation when the charger task is not
running.
This allow to debug new charger code without the task acting in
background and should not have any drawback.
Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
BRANCH=none
BUG=none
TEST=make buildall
and run "charger" command on Fruitpie without the charger task.
Change-Id: I49a4885a2abf0e5d9e652e037941b1c4672beb7a
Reviewed-on: https://chromium-review.googlesource.com/191211
Tested-by: Vincent Palatin <vpalatin@chromium.org>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Commit-Queue: Vincent Palatin <vpalatin@chromium.org>
-rw-r--r-- | include/config.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/config.h b/include/config.h index 68402985ec..bd0f2be9dd 100644 --- a/include/config.h +++ b/include/config.h @@ -900,16 +900,6 @@ * are not present. */ -#ifndef HAS_TASK_CHARGER -#undef CONFIG_CHARGER -#undef CONFIG_CHARGER_BQ24192 -#undef CONFIG_CHARGER_BQ24707A -#undef CONFIG_CHARGER_BQ24715 -#undef CONFIG_CHARGER_BQ24725 -#undef CONFIG_CHARGER_BQ24738 -#undef CONFIG_CHARGER_TPS65090 -#endif - #ifndef HAS_TASK_CHIPSET #undef CONFIG_CHIPSET_BAYTRAIL #undef CONFIG_CHIPSET_GAIA |