]> git.ipfire.org Git - thirdparty/u-boot.git/blobdiff - board/BuR/common/br_resetc.c
board: brxre1: fix building errors
[thirdparty/u-boot.git] / board / BuR / common / br_resetc.c
index c0e7fb65b298facd00b7a1dd753083a792cdaea5..70ad8322ef4ae7fb881cb727b189b28788297af7 100644 (file)
@@ -22,7 +22,7 @@
 #define BMODE_PME              12
 #define BMODE_DIAG             15
 
-#ifdef CONFIG_LCD
+#if CONFIG_IS_ENABLED(LCD) && !CONFIG_IS_ENABLED(DM_VIDEO)
 #include <lcd.h>
 #define LCD_SETCURSOR(x, y)    lcd_position_cursor(x, y)
 #define LCD_PUTS(x)            lcd_puts(x)