From a1c99c7228086a4f3d06fc299fa43ba7928c6b48 Mon Sep 17 00:00:00 2001 From: Randall Spangler Date: Tue, 9 Apr 2013 09:32:40 -0700 Subject: [PATCH] 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 Reviewed-on: https://gerrit.chromium.org/gerrit/47658 Reviewed-by: Bill Richardson --- board/daisy/board.h | 2 -- board/mccroskey/board.h | 2 -- board/pit/board.h | 2 -- board/snow/board.h | 2 -- 4 files changed, 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