summaryrefslogtreecommitdiff
path: root/common/cmd_vboot_twostop.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_vboot_twostop.c')
-rw-r--r--common/cmd_vboot_twostop.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/cmd_vboot_twostop.c b/common/cmd_vboot_twostop.c
index 389c7c9837..a1ed311d00 100644
--- a/common/cmd_vboot_twostop.c
+++ b/common/cmd_vboot_twostop.c
@@ -707,7 +707,11 @@ int do_vboot_twostop(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
* In normal mode, we don't need to load graphics driver and clear
* screen.
*/
+#ifdef CONFIG_LCD
lcd_clear();
+#else
+ printf("Would call lcd_clear, but the LCD driver isn't being used.\n");
+#endif
/*
* A processor reset jumps to the reset entry point (which is the