aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-k3
diff options
context:
space:
mode:
authorAswath Govindraju <a-govindraju@ti.com>2022-05-18 16:49:13 +0530
committerTom Rini <trini@konsulko.com>2022-06-10 13:37:32 -0400
commit36dafd8045ebe1cfb452a87e51fa394849532a7d (patch)
tree3cde144c1a032f9f75ade7ed0f134ac7e67f0f2d /arch/arm/mach-k3
parent750d8470cbdd323bafc0a79df582f9057b8f50ba (diff)
downloadu-boot-36dafd8045ebe1cfb452a87e51fa394849532a7d.tar.gz
arm: mach-k3: am6_init: Fix the path and value's length in the fixup performed for usb boot
The node name of the bus in the device tree has changed. Also, the length argument to be passed should be the length of new value. Therefore, fix the path to usb device tree node as well as the length argument passed. Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
Diffstat (limited to 'arch/arm/mach-k3')
-rw-r--r--arch/arm/mach-k3/am6_init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-k3/am6_init.c b/arch/arm/mach-k3/am6_init.c
index 86c1a349f1f..7992918adcd 100644
--- a/arch/arm/mach-k3/am6_init.c
+++ b/arch/arm/mach-k3/am6_init.c
@@ -127,8 +127,8 @@ static int fixup_usb_boot(void)
* before the dwc3 bind takes place
*/
ret = fdt_find_and_setprop((void *)gd->fdt_blob,
- "/interconnect@100000/dwc3@4000000/usb@10000",
- "dr_mode", "host", 11, 0);
+ "/bus@100000/dwc3@4000000/usb@10000",
+ "dr_mode", "host", 5, 0);
if (ret)
printf("%s: fdt_find_and_setprop() failed:%d\n", __func__,
ret);