diff mbox

[U-Boot,20/20] x86: Remove CONFIG_USB_MAX_CONTROLLER_COUNT

Message ID 1497619909-29454-21-git-send-email-bmeng.cn@gmail.com
State Accepted
Delegated to: Bin Meng
Headers show

Commit Message

Bin Meng June 16, 2017, 1:31 p.m. UTC
As all x86 boards have been switched over to use DM USB, remove
CONFIG_USB_MAX_CONTROLLER_COUNT which is not used by DM USB.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>

---

 include/configs/conga-qeval20-qa3-e3845.h | 3 ---
 include/configs/dfi-bt700.h               | 3 ---
 include/configs/minnowmax.h               | 3 ---
 include/configs/x86-common.h              | 1 -
 4 files changed, 10 deletions(-)

Comments

Simon Glass June 17, 2017, 3:45 a.m. UTC | #1
On 16 June 2017 at 07:31, Bin Meng <bmeng.cn@gmail.com> wrote:
> As all x86 boards have been switched over to use DM USB, remove
> CONFIG_USB_MAX_CONTROLLER_COUNT which is not used by DM USB.
>
> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
>
> ---
>
>  include/configs/conga-qeval20-qa3-e3845.h | 3 ---
>  include/configs/dfi-bt700.h               | 3 ---
>  include/configs/minnowmax.h               | 3 ---
>  include/configs/x86-common.h              | 1 -
>  4 files changed, 10 deletions(-)

Reviewed-by: Simon Glass <sjg@chromium.org>
Bin Meng June 22, 2017, 6:44 a.m. UTC | #2
On Sat, Jun 17, 2017 at 11:45 AM, Simon Glass <sjg@chromium.org> wrote:
> On 16 June 2017 at 07:31, Bin Meng <bmeng.cn@gmail.com> wrote:
>> As all x86 boards have been switched over to use DM USB, remove
>> CONFIG_USB_MAX_CONTROLLER_COUNT which is not used by DM USB.
>>
>> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
>>
>> ---
>>
>>  include/configs/conga-qeval20-qa3-e3845.h | 3 ---
>>  include/configs/dfi-bt700.h               | 3 ---
>>  include/configs/minnowmax.h               | 3 ---
>>  include/configs/x86-common.h              | 1 -
>>  4 files changed, 10 deletions(-)
>
> Reviewed-by: Simon Glass <sjg@chromium.org>

applied to u-boot-x86, thanks!
diff mbox

Patch

diff --git a/include/configs/conga-qeval20-qa3-e3845.h b/include/configs/conga-qeval20-qa3-e3845.h
index 231e599..b4ea184 100644
--- a/include/configs/conga-qeval20-qa3-e3845.h
+++ b/include/configs/conga-qeval20-qa3-e3845.h
@@ -23,9 +23,6 @@ 
 	{PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VALLEYVIEW_SATA}, \
 	{PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VALLEYVIEW_SATA_ALT}
 
-#undef CONFIG_USB_MAX_CONTROLLER_COUNT
-#define CONFIG_USB_MAX_CONTROLLER_COUNT		1
-
 #define VIDEO_IO_OFFSET				0
 #define CONFIG_X86EMU_RAW_IO
 
diff --git a/include/configs/dfi-bt700.h b/include/configs/dfi-bt700.h
index 1cb4b5e..6748b9c 100644
--- a/include/configs/dfi-bt700.h
+++ b/include/configs/dfi-bt700.h
@@ -28,9 +28,6 @@ 
 	{PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VALLEYVIEW_SATA}, \
 	{PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VALLEYVIEW_SATA_ALT}
 
-#undef CONFIG_USB_MAX_CONTROLLER_COUNT
-#define CONFIG_USB_MAX_CONTROLLER_COUNT		1
-
 #define CONFIG_USB_HOST_ETHER
 #define CONFIG_USB_ETHER_ASIX
 #define CONFIG_USB_ETHER_SMSC95XX
diff --git a/include/configs/minnowmax.h b/include/configs/minnowmax.h
index 57a62c2..6ea607d 100644
--- a/include/configs/minnowmax.h
+++ b/include/configs/minnowmax.h
@@ -27,9 +27,6 @@ 
 	{PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VALLEYVIEW_SATA}, \
 	{PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VALLEYVIEW_SATA_ALT}
 
-#undef CONFIG_USB_MAX_CONTROLLER_COUNT
-#define CONFIG_USB_MAX_CONTROLLER_COUNT		1
-
 #define VIDEO_IO_OFFSET				0
 #define CONFIG_X86EMU_RAW_IO
 
diff --git a/include/configs/x86-common.h b/include/configs/x86-common.h
index 02be817..70a559b 100644
--- a/include/configs/x86-common.h
+++ b/include/configs/x86-common.h
@@ -131,7 +131,6 @@ 
  * USB configuration
  */
 #define CONFIG_USB_EHCI_PCI
-#define CONFIG_USB_MAX_CONTROLLER_COUNT        2
 #define CONFIG_SYS_USB_EVENT_POLL
 
 #define CONFIG_USB_HOST_ETHER