summaryrefslogtreecommitdiff
path: root/post/lib_powerpc/store.c
diff options
context:
space:
mode:
authorJean-Jacques Hiblot <jjhiblot@ti.com>2018-12-15 17:43:27 +0100
committerMarek Vasut <marex@denx.de>2019-01-10 18:52:51 +0100
commit801f1fa44275e274e33bdfc7fb76535cc6118d61 (patch)
tree8666747b0b9676111c8eaae27b3e69b1c5b87139 /post/lib_powerpc/store.c
parent8c6cc71b40357dad4e3f21e9f1bd84db76a3d994 (diff)
dm: usb: udc: Use SEQ_ALIAS to index the USB gadget ports
dfu, fastbot and other usb gadget commands take the USB port index as a parameter. Currently this index is assigned in the order of the driver bindings. Changing this behavior using the SEQ_ALIAS feature. This option assign to the device a SEQ number based on its alias (if it exists) To use it we must set the DM_UC_FLAG_SEQ_ALIAS flag and follow the existing naming convention: use "usb" for the name of the gadget UCLASS_DRIVER (same as for the UCLASS_USB). If no alias is provided, then the index falls back to the order in which the bindings took place. Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com> Reported-by: Sam Protsenko <semen.protsenko@linaro.org> Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org> Tested-by: Sam Protsenko <semen.protsenko@linaro.org>
Diffstat (limited to 'post/lib_powerpc/store.c')
0 files changed, 0 insertions, 0 deletions