[U-Boot] [PATCH 2/3] ARM: zynq(mp): remove unneeded CONFIG_USB_MAX_CONTROLLER_COUNT defines

Moritz Fischer moritz.fischer at ettus.com
Fri Oct 14 10:19:04 CEST 2016


On Fri, Oct 14, 2016 at 9:29 AM, Michal Simek <michal.simek at xilinx.com> wrote:
> On 13.10.2016 17:40, Masahiro Yamada wrote:
>> ARCH_ZYNQ(MP) selects DM_USB, where CONFIG_USB_MAX_CONTROLLER_COUNT
>> is not used.
>>
>> Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
>> ---
>>
>>  include/configs/xilinx_zynqmp.h | 1 -
>>  include/configs/zynq-common.h   | 1 -
>>  2 files changed, 2 deletions(-)
>>
>> diff --git a/include/configs/xilinx_zynqmp.h b/include/configs/xilinx_zynqmp.h
>> index adc42cf..c8e1ffa 100644
>> --- a/include/configs/xilinx_zynqmp.h
>> +++ b/include/configs/xilinx_zynqmp.h
>> @@ -110,7 +110,6 @@
>>  #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
>>
>> diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h
>> index 0118fd2..7cca83f 100644
>> --- a/include/configs/zynq-common.h
>> +++ b/include/configs/zynq-common.h
>> @@ -86,7 +86,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
>>
>
> Acked-by: Michal Simek <michal.simek at xilinx.com>
Acked-by: Moritz Fischer <moritz.fischer at ettus.com>

Cheers,

Moritz


More information about the U-Boot mailing list