]> git.ipfire.org Git - u-boot.git/commit
usb: dwc2: Rename CONFIG_DWC2_UTMI_PHY_WIDTH to CONFIG_DWC2_UTMI_WIDTH
authorAlexey Brodkin <Alexey.Brodkin@synopsys.com>
Wed, 31 Jan 2018 14:56:59 +0000 (17:56 +0300)
committerMarek Vasut <marex@denx.de>
Thu, 15 Feb 2018 12:44:27 +0000 (13:44 +0100)
commit163f8858ae8bfcd94ef8d6c4ed75ff3abb642450
tree3541d468c78bfc2bfdf057b1890f36de95b69782
parent0c502b6c176281a096a23803e517b19e964485f1
usb: dwc2: Rename CONFIG_DWC2_UTMI_PHY_WIDTH to CONFIG_DWC2_UTMI_WIDTH

For some reason from day one we used to have both CONFIG_DWC2_UTMI_WIDTH
mentioned in dwc2.h and in scripts/config_whitelist.txt but never really used
and CONFIG_DWC2_UTMI_PHY_WIDTH used in real code in dwc2.c (but never
defined).

Moreover even though CONFIG_DWC2_UTMI_WIDTH might be either 8 or 16
depending on hardware (and the same is said in a comment for it in
dwc2.h) but then 8 is hardcoded in the header leaving no ability to
override this value in board's configuration.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Marek Vasut <marex@denx.de>
drivers/usb/host/dwc2.c
drivers/usb/host/dwc2.h