]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: zynq(mp): remove unneeded CONFIG_USB_MAX_CONTROLLER_COUNT defines
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 13 Oct 2016 15:40:00 +0000 (00:40 +0900)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 2 Dec 2016 13:36:01 +0000 (14:36 +0100)
ARCH_ZYNQ(MP) selects DM_USB, where CONFIG_USB_MAX_CONTROLLER_COUNT
is not used.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Moritz Fischer <moritz.fischer@ettus.com>
Acked-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
include/configs/xilinx_zynqmp.h
include/configs/zynq-common.h

index cbdef6eafd0c6d993220f51bd21c67e0bbad5a88..7452e92ff8dae190bb2b70a598ca65049eb5be04 100644 (file)
 #define CONFIG_SYS_LOAD_ADDR           0x8000000
 
 #if defined(CONFIG_ZYNQMP_USB)
-#define CONFIG_USB_MAX_CONTROLLER_COUNT         2
 #define CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS      2
 #define CONFIG_USB_XHCI_ZYNQMP
 
index 8524b280b950049397498cc7d9ea716ea219c47b..953e7311a644ba4b5ab0e20d851405642f070f3e 100644 (file)
@@ -93,7 +93,6 @@
 
 #ifdef CONFIG_USB_EHCI_ZYNQ
 # define CONFIG_EHCI_IS_TDI
-# define CONFIG_USB_MAX_CONTROLLER_COUNT       2
 
 # define CONFIG_SYS_DFU_DATA_BUF_SIZE  0x600000
 # define DFU_DEFAULT_POLL_TIMEOUT      300