summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2013-04-09 09:32:40 -0700
committerChromeBot <chrome-bot@google.com>2013-04-10 11:19:39 -0700
commita1c99c7228086a4f3d06fc299fa43ba7928c6b48 (patch)
tree12701a0661fd8354fa8091fd97d569471ea01a4a
parenta649f52d5f690a9f8dd2242a3ce85f5d0ff1f318 (diff)
downloadchrome-ec-a1c99c7228086a4f3d06fc299fa43ba7928c6b48.tar.gz
Remove unneeded USB_CHARGE_PORT_COUNT
This only needs to be defined if CONFIG_USB_CHARGE is defined (that is, if the board has a USB charge controller. (Note the difference between providing power over USB vs. receiving power over USB; the names are confusing and I'll rename one of the two imminently.) BUG=chrome-os-partner:18343 BRANCH=none TEST=build all platforms Change-Id: I7355b4248bb2d4f5f71cc9f8d9d8f9d6c0069f2b Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/47658 Reviewed-by: Bill Richardson <wfrichar@chromium.org>
-rw-r--r--board/daisy/board.h2
-rw-r--r--board/mccroskey/board.h2
-rw-r--r--board/pit/board.h2
-rw-r--r--board/snow/board.h2
4 files changed, 0 insertions, 8 deletions
diff --git a/board/daisy/board.h b/board/daisy/board.h
index a31f3dfa25..c94606c8d1 100644
--- a/board/daisy/board.h
+++ b/board/daisy/board.h
@@ -44,8 +44,6 @@
/* By default, enable all console messages except keyboard */
#define CC_DEFAULT (CC_ALL & ~CC_MASK(CC_KEYSCAN))
-#define USB_CHARGE_PORT_COUNT 0
-
/* Keyboard output port list */
#define KB_OUT_PORT_LIST GPIO_B, GPIO_C
diff --git a/board/mccroskey/board.h b/board/mccroskey/board.h
index 79328181ab..5910020bc9 100644
--- a/board/mccroskey/board.h
+++ b/board/mccroskey/board.h
@@ -38,8 +38,6 @@
/* By default, enable all console messages except keyboard */
#define CC_DEFAULT (CC_ALL)
-#define USB_CHARGE_PORT_COUNT 0
-
/* Keyboard output ports */
#define KB_OUT_PORT_LIST GPIO_C
diff --git a/board/pit/board.h b/board/pit/board.h
index bd42f72415..f28fc01b13 100644
--- a/board/pit/board.h
+++ b/board/pit/board.h
@@ -48,8 +48,6 @@
/* By default, enable all console messages except keyboard */
#define CC_DEFAULT (CC_ALL & ~CC_MASK(CC_KEYSCAN))
-#define USB_CHARGE_PORT_COUNT 0
-
/* Keyboard output port list */
#define KB_OUT_PORT_LIST GPIO_A, GPIO_B, GPIO_C
diff --git a/board/snow/board.h b/board/snow/board.h
index be883ae373..f828e50044 100644
--- a/board/snow/board.h
+++ b/board/snow/board.h
@@ -46,8 +46,6 @@
/* By default, enable all console messages except keyboard */
#define CC_DEFAULT (CC_ALL & ~CC_MASK(CC_KEYSCAN))
-#define USB_CHARGE_PORT_COUNT 0
-
/* Keyboard output ports */
#define KB_OUT_PORT_LIST GPIO_B, GPIO_C