summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmd/fastboot.c4
-rw-r--r--drivers/video/starfive/sf_vop.c3
2 files changed, 2 insertions, 5 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)
diff --git a/drivers/video/starfive/sf_vop.c b/drivers/video/starfive/sf_vop.c
index 0849e79e35..e786032429 100644
--- a/drivers/video/starfive/sf_vop.c
+++ b/drivers/video/starfive/sf_vop.c
@@ -720,9 +720,6 @@ static int sf_vop_remove(struct udevice *dev)
if(priv->mipi_logo == true)
return 0;
- if(priv->hdmi_logo == false)
- return 0;
-
iotrace_writel( 0x00000000, priv->regs_hi+0x1cc0 );
iotrace_writel( 0x00000000, priv->regs_hi+0x24e0 );
iotrace_writel( 0x00000000, priv->regs_hi+0x1810 );