summaryrefslogtreecommitdiff
path: root/include/extpower.h
diff options
context:
space:
mode:
authorVic Yang <victoryang@chromium.org>2013-08-27 15:49:45 +0800
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2013-08-28 01:54:48 +0000
commit7e49fb5ef485a78365cabcf8c40b9a358ea8360a (patch)
treeac3f4cc0905f61a9347b9745c396a63669066029 /include/extpower.h
parent07428351b6df572456a8896222c6d011a7450af5 (diff)
downloadchrome-ec-7e49fb5ef485a78365cabcf8c40b9a358ea8360a.tar.gz
Rename extpower_usb to extpower_spring
The ID detection and charging circuits on Spring are very different from that on Kirby. PWM current limit is no longer used. The ID detection sequence is also different. Also, there is no boost circuit on Kirby. Given those hardware issues that we had to work around on Spring, it's unlikely that we will have another board that shares the same/similar ID detection design with Spring. Let's rename extpower_usb to extpower_spring to better reflect this. BUG=None TEST=Build and boot Spring. BRANCH=None Change-Id: I7c212a121eed55665593cb7e1b2b672891819940 Signed-off-by: Vic Yang <victoryang@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/67031
Diffstat (limited to 'include/extpower.h')
-rw-r--r--include/extpower.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/extpower.h b/include/extpower.h
index 1b51f3fa83..f75a1a5c06 100644
--- a/include/extpower.h
+++ b/include/extpower.h
@@ -10,9 +10,9 @@
#include "common.h"
-#ifdef CONFIG_EXTPOWER_USB
-/* USB-power-specific methods */
-#include "extpower_usb.h"
+#ifdef CONFIG_EXTPOWER_SPRING
+/* Spring-USB-power-specific methods */
+#include "extpower_spring.h"
#endif
/**