summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Parker <dparker@chromium.org>2014-06-26 11:53:55 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-07-07 18:04:19 +0000
commitc3224254295191560384292897277217135aa5a6 (patch)
tree67db1c8e52a77bebefaae1a22e7188fdbcbf60c3
parent6906f9650de40198ae4eefe9caf96d8d16ee427b (diff)
downloadchrome-ec-c3224254295191560384292897277217135aa5a6.tar.gz
BayTrail: Set the default USB charge mode to CDP
This reflects the reality of what we have been doing already. The earlier default mode of SDP2 was actually CDP due to an inversion in the ILIM control line. BUG=chrome-os-partner:29053 BRANCH=None TEST=Boot a baytrail board and verify that the 'usbchargemode' command indicates CDP charging. Change-Id: Ia061d45512d1f90c68fd02b3197c414961b78a7c Signed-off-by: Dave Parker <dparker@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/205813 Reviewed-by: Randall Spangler <rspangler@chromium.org>
-rw-r--r--board/clapper/board.h1
-rw-r--r--board/enguarde/board.h1
-rw-r--r--board/expresso/board.h1
-rw-r--r--board/glimmer/board.h1
-rw-r--r--board/gnawty/board.h1
-rw-r--r--board/kip/board.h1
-rw-r--r--board/quawks/board.h1
-rw-r--r--board/rambi/board.h1
-rw-r--r--board/squawks/board.h1
-rw-r--r--board/swanky/board.h1
-rw-r--r--board/tiny/board.h1
-rw-r--r--board/winky/board.h1
12 files changed, 12 insertions, 0 deletions
diff --git a/board/clapper/board.h b/board/clapper/board.h
index 6f26545a73..b214c331a0 100644
--- a/board/clapper/board.h
+++ b/board/clapper/board.h
@@ -42,6 +42,7 @@
#define CONFIG_TEMP_SENSOR_TMP432
#define CONFIG_USB_PORT_POWER_IN_S3
#define CONFIG_USB_PORT_POWER_SMART
+#define CONFIG_USB_PORT_POWER_SMART_DEFAULT_MODE USB_CHARGE_MODE_CDP
#define CONFIG_USB_PORT_POWER_SMART_SIMPLE
#define CONFIG_VBOOT_HASH
#define CONFIG_WIRELESS
diff --git a/board/enguarde/board.h b/board/enguarde/board.h
index 9e81686afa..fba152066f 100644
--- a/board/enguarde/board.h
+++ b/board/enguarde/board.h
@@ -40,6 +40,7 @@
#define CONFIG_TEMP_SENSOR_TMP432
#define CONFIG_USB_PORT_POWER_IN_S3
#define CONFIG_USB_PORT_POWER_SMART
+#define CONFIG_USB_PORT_POWER_SMART_DEFAULT_MODE USB_CHARGE_MODE_CDP
#define CONFIG_USB_PORT_POWER_SMART_SIMPLE
#define CONFIG_VBOOT_HASH
#define CONFIG_WIRELESS
diff --git a/board/expresso/board.h b/board/expresso/board.h
index 6253790367..3b56ac23d2 100644
--- a/board/expresso/board.h
+++ b/board/expresso/board.h
@@ -40,6 +40,7 @@
#define CONFIG_TEMP_SENSOR_TMP432
#define CONFIG_USB_PORT_POWER_IN_S3
#define CONFIG_USB_PORT_POWER_SMART
+#define CONFIG_USB_PORT_POWER_SMART_DEFAULT_MODE USB_CHARGE_MODE_CDP
#define CONFIG_USB_PORT_POWER_SMART_SIMPLE
#define CONFIG_VBOOT_HASH
#define CONFIG_WIRELESS
diff --git a/board/glimmer/board.h b/board/glimmer/board.h
index ac8095d49c..c2b6ac9d27 100644
--- a/board/glimmer/board.h
+++ b/board/glimmer/board.h
@@ -48,6 +48,7 @@
#define CONFIG_TEMP_SENSOR_TMP432
#define CONFIG_USB_PORT_POWER_IN_S3
#define CONFIG_USB_PORT_POWER_SMART
+#define CONFIG_USB_PORT_POWER_SMART_DEFAULT_MODE USB_CHARGE_MODE_CDP
#define CONFIG_USB_PORT_POWER_SMART_SIMPLE
#define CONFIG_VBOOT_HASH
#define CONFIG_WIRELESS
diff --git a/board/gnawty/board.h b/board/gnawty/board.h
index 10a33b057a..16a1b603a3 100644
--- a/board/gnawty/board.h
+++ b/board/gnawty/board.h
@@ -39,6 +39,7 @@
#define CONFIG_TEMP_SENSOR_TMP432
#define CONFIG_USB_PORT_POWER_IN_S3
#define CONFIG_USB_PORT_POWER_SMART
+#define CONFIG_USB_PORT_POWER_SMART_DEFAULT_MODE USB_CHARGE_MODE_CDP
#define CONFIG_USB_PORT_POWER_SMART_SIMPLE
#define CONFIG_VBOOT_HASH
#define CONFIG_WIRELESS
diff --git a/board/kip/board.h b/board/kip/board.h
index b19cca115c..9285dcc199 100644
--- a/board/kip/board.h
+++ b/board/kip/board.h
@@ -41,6 +41,7 @@
#define CONFIG_TEMP_SENSOR_TMP432
#define CONFIG_USB_PORT_POWER_IN_S3
#define CONFIG_USB_PORT_POWER_SMART
+#define CONFIG_USB_PORT_POWER_SMART_DEFAULT_MODE USB_CHARGE_MODE_CDP
#define CONFIG_USB_PORT_POWER_SMART_SIMPLE
#define CONFIG_VBOOT_HASH
#define CONFIG_WIRELESS
diff --git a/board/quawks/board.h b/board/quawks/board.h
index 8770a55d6a..f696fc0899 100644
--- a/board/quawks/board.h
+++ b/board/quawks/board.h
@@ -39,6 +39,7 @@
#define CONFIG_TEMP_SENSOR_TMP432
#define CONFIG_USB_PORT_POWER_IN_S3
#define CONFIG_USB_PORT_POWER_SMART
+#define CONFIG_USB_PORT_POWER_SMART_DEFAULT_MODE USB_CHARGE_MODE_CDP
#define CONFIG_USB_PORT_POWER_SMART_SIMPLE
#define CONFIG_VBOOT_HASH
#define CONFIG_WIRELESS
diff --git a/board/rambi/board.h b/board/rambi/board.h
index 0cd92e4dd5..ca536e5672 100644
--- a/board/rambi/board.h
+++ b/board/rambi/board.h
@@ -40,6 +40,7 @@
#define CONFIG_TEMP_SENSOR_TMP432
#define CONFIG_USB_PORT_POWER_IN_S3
#define CONFIG_USB_PORT_POWER_SMART
+#define CONFIG_USB_PORT_POWER_SMART_DEFAULT_MODE USB_CHARGE_MODE_CDP
#define CONFIG_USB_PORT_POWER_SMART_SIMPLE
#define CONFIG_VBOOT_HASH
#define CONFIG_WIRELESS
diff --git a/board/squawks/board.h b/board/squawks/board.h
index 0a8e295840..d7f5de6492 100644
--- a/board/squawks/board.h
+++ b/board/squawks/board.h
@@ -39,6 +39,7 @@
#define CONFIG_TEMP_SENSOR_TMP432
#define CONFIG_USB_PORT_POWER_IN_S3
#define CONFIG_USB_PORT_POWER_SMART
+#define CONFIG_USB_PORT_POWER_SMART_DEFAULT_MODE USB_CHARGE_MODE_CDP
#define CONFIG_USB_PORT_POWER_SMART_SIMPLE
#define CONFIG_VBOOT_HASH
#define CONFIG_WIRELESS
diff --git a/board/swanky/board.h b/board/swanky/board.h
index c2d04b2a1d..d66e17fa86 100644
--- a/board/swanky/board.h
+++ b/board/swanky/board.h
@@ -40,6 +40,7 @@
#define CONFIG_TEMP_SENSOR_TMP432
#define CONFIG_USB_PORT_POWER_IN_S3
#define CONFIG_USB_PORT_POWER_SMART
+#define CONFIG_USB_PORT_POWER_SMART_DEFAULT_MODE USB_CHARGE_MODE_CDP
#define CONFIG_USB_PORT_POWER_SMART_SIMPLE
#define CONFIG_VBOOT_HASH
#define CONFIG_WIRELESS
diff --git a/board/tiny/board.h b/board/tiny/board.h
index 3de681a359..ccc56132cb 100644
--- a/board/tiny/board.h
+++ b/board/tiny/board.h
@@ -39,6 +39,7 @@
#define CONFIG_TEMP_SENSOR_TMP432
#define CONFIG_USB_PORT_POWER_IN_S3
#define CONFIG_USB_PORT_POWER_SMART
+#define CONFIG_USB_PORT_POWER_SMART_DEFAULT_MODE USB_CHARGE_MODE_CDP
#define CONFIG_USB_PORT_POWER_SMART_SIMPLE
#define CONFIG_VBOOT_HASH
#define CONFIG_WIRELESS
diff --git a/board/winky/board.h b/board/winky/board.h
index 5bc42dbe88..7109d94564 100644
--- a/board/winky/board.h
+++ b/board/winky/board.h
@@ -41,6 +41,7 @@
#define CONFIG_TEMP_SENSOR_TMP432
#define CONFIG_USB_PORT_POWER_IN_S3
#define CONFIG_USB_PORT_POWER_SMART
+#define CONFIG_USB_PORT_POWER_SMART_DEFAULT_MODE USB_CHARGE_MODE_CDP
#define CONFIG_USB_PORT_POWER_SMART_SIMPLE
#define CONFIG_VBOOT_HASH
#define CONFIG_WIRELESS