diff options
author | Dario Binacchi <dariobin@libero.it> | 2020-02-22 14:05:49 +0100 |
---|---|---|
committer | Lokesh Vutla <lokeshvutla@ti.com> | 2020-03-03 13:08:14 +0530 |
commit | 449c5e52110e7cd91c9f32a041ca6428cadf6807 (patch) | |
tree | 805d0872c05e0ff0acaeb79bbaa71b49c9fb859b /board/BuR/common/br_resetc.c | |
parent | 0aff8e261547f761b0c20a75e7cdd59c46d2478b (diff) |
board: brxre1: fix building errors
Fix building errors if CONFIG_DM_VIDEO is enabled. This is the only
u-boot board that enables CONFIG_AM335X_LCD and from which I started
to develop the version of the frame buffer driver that supports the
driver model.
Signed-off-by: Dario Binacchi <dariobin@libero.it>
Diffstat (limited to 'board/BuR/common/br_resetc.c')
-rw-r--r-- | board/BuR/common/br_resetc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/BuR/common/br_resetc.c b/board/BuR/common/br_resetc.c index c0e7fb65b2..70ad8322ef 100644 --- a/board/BuR/common/br_resetc.c +++ b/board/BuR/common/br_resetc.c @@ -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) |