]> git.dujemihanovic.xyz Git - u-boot.git/commit
board: toradex: make USB PID from config block optional
authorStefan Agner <stefan.agner@toradex.com>
Fri, 23 Jul 2021 06:39:46 +0000 (09:39 +0300)
committerStefano Babic <sbabic@denx.de>
Mon, 9 Aug 2021 11:09:29 +0000 (13:09 +0200)
commit421440f70de659789b4bec90fda48f1eddf67eed
tree033908410726bcd357b5b06f43ebf1e862d3ea5f
parent46307ef01e083e3bbbad62f6b75107201e0c6184
board: toradex: make USB PID from config block optional

If config block support is enabled, USB gadget modes unconditionally
use Toradex Product ID as USB PID. Some applications might prefer a
different and/or static USB PID. Add a Kconfig configuration option
to descide whether to use USB PID from config block or the fallback
config option CONFIG_G_DNL_PRODUCT_NUM.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
board/toradex/common/Kconfig
board/toradex/common/tdx-common.c