summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandy.hu <andy.hu@starfivetech.com>2023-09-13 12:55:19 +0300
committerandy.hu <andy.hu@starfivetech.com>2023-09-13 12:55:19 +0300
commitd5f1e2303ad2d50f20b2823e72d4c5b08cc37d5c (patch)
tree99c1991ca54dd6d08b12a75e1db21f26dc41de97
parent9ac96f4316bd6421f3530df2f38aff31d91235a6 (diff)
parent24a0c6a085b3c17262daaadf0f83d2c3fb11eaf9 (diff)
downloadu-boot-d5f1e2303ad2d50f20b2823e72d4c5b08cc37d5c.tar.xz
Merge branch 'CR_7420_vf2_fastboot_Xingyu.Wu' into 'jh7110-master'
CR_7420_vf2_fastboot_Xingyu.Wu See merge request sdk/u-boot!70
-rw-r--r--cmd/fastboot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/fastboot.c b/cmd/fastboot.c
index fa6863ccc7..47d55fad57 100644
--- a/cmd/fastboot.c
+++ b/cmd/fastboot.c
@@ -43,12 +43,12 @@ static int do_fastboot_usb(int argc, char *const argv[],
char *endp;
int ret;
-#ifdef CONFIG_FASTBOOT_STARFIVE_MAX_BLK_WRITE
+#ifdef CONFIG_TARGET_STARFIVE_DEVKITS
#define RUN_FB_SF_PRESETTING \
"fdt set /soc/usbdrd starfive,usb2-only <0x1>;" \
"fdt set /soc/usbdrd/usb@10100000 dr_num_mode <0x2>;"
- run_command_list(RUN_FB_SF_PRESETTING, -1, 0);
+ run_command_list(RUN_FB_SF_PRESETTING, -1, 0);
#endif
if (argc < 2)