arm-trusted-firmware/plat/st/stm32mp1
Patrick Delaunay 216c1223c2 fix(drivers/usb): add a optional ops get_other_speed_config_desc
Correctly handle USB_DESC_TYPE_OTHER_SPEED_CONFIGURATION request
in USB driver and support a different result than
USB_DESC_TYPE_CONFIGURATION with the new optional ops
get_other_speed_config_desc().

The support of this descriptor is optionnal and is only
required when high-speed capable device which can operate at its
other possible speed.

This patch allows to remove the pbuf update in usb_core_get_desc()
and solves an issue on USB re-enumeration on STM32MP15 platform
as the result of get_config_desc() is a const array.
This issue is not see on normal use-case, as the USB enumeration
is only done in ROM code and TF-A reuse the same USB descritors.

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Change-Id: I8edcc1e45065ab4e45d48f4bc37b49120674fdb0
2021-11-05 11:28:59 +02:00
..
include feat(plat/st/stm32mp1): add STM32MP_USB_PROGRAMMER target 2021-10-29 16:44:03 +02:00
services fix(plat/st): correct BSEC error code management 2021-06-22 14:10:27 +02:00
sp_min feat(plat/st): use FCONF to configure platform 2021-09-07 09:14:05 +02:00
bl2_plat_setup.c feat(plat/st/stm32mp1): add STM32MP_USB_PROGRAMMER target 2021-10-29 16:44:03 +02:00
plat_bl2_mem_params_desc.c feat(plat/st): use FCONF to configure platform 2021-09-07 09:14:05 +02:00
plat_bl2_stm32_mem_params_desc.c feat(plat/st): use FIP to load images 2021-09-07 09:14:05 +02:00
plat_image_load.c feat(plat/st): use FIP to load images 2021-09-07 09:14:05 +02:00
platform.mk feat(plat/st/stm32mp1): add STM32MP_USB_PROGRAMMER target 2021-10-29 16:44:03 +02:00
stm32mp1.S feat(plat/st): use FIP to load images 2021-09-07 09:14:05 +02:00
stm32mp1.ld.S feat(plat/st): use FIP to load images 2021-09-07 09:14:05 +02:00
stm32mp1_boot_device.c Enable -Wredundant-decls warning check 2020-01-28 11:09:02 -06:00
stm32mp1_context.c stm32mp1: update clock driver 2019-02-14 11:20:23 +01:00
stm32mp1_dbgmcu.c stm32mp1: print information about SoC 2019-09-02 17:49:30 +02:00
stm32mp1_def.h feat(plat/st/stm32mp1): add USB DFU support for STM32MP1 2021-10-29 16:43:57 +02:00
stm32mp1_fconf_firewall.c feat(plat/st): add a new DDR firewall management 2021-09-08 09:05:16 +02:00
stm32mp1_fip_def.h feat(plat/st): use FCONF to configure platform 2021-09-07 09:14:05 +02:00
stm32mp1_gic.c stm32mp1: split code between common and private parts 2019-02-14 11:20:23 +01:00
stm32mp1_helper.S fix(plat/st): add UART reset in crash console init 2021-09-20 13:57:10 +02:00
stm32mp1_pm.c stm32mp1: check stronger the secondary CPU entry point 2020-06-23 09:21:56 +02:00
stm32mp1_private.c feat(plat/st): add a new DDR firewall management 2021-09-08 09:05:16 +02:00
stm32mp1_scmi.c drivers: move scmi-msg out of st 2021-01-20 11:37:14 +08:00
stm32mp1_security.c refactor(plat/st): use TZC400 bindings 2021-09-07 09:14:05 +02:00
stm32mp1_shared_resources.c fix(plat/st): correct signedness comparison issue 2021-10-07 09:26:27 +02:00
stm32mp1_stack_protector.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
stm32mp1_stm32image_def.h feat(plat/st): use FCONF to configure platform 2021-09-07 09:14:05 +02:00
stm32mp1_syscfg.c fix(plat/st): correct IO compensation disabling 2021-06-22 14:10:27 +02:00
stm32mp1_topology.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
stm32mp1_usb_dfu.c fix(drivers/usb): add a optional ops get_other_speed_config_desc 2021-11-05 11:28:59 +02:00