summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--board/nvidia/common/board.c9
-rw-r--r--drivers/video/tegra2.c6
2 files changed, 13 insertions, 2 deletions
diff --git a/board/nvidia/common/board.c b/board/nvidia/common/board.c
index 59307c3e7db..049d908adff 100644
--- a/board/nvidia/common/board.c
+++ b/board/nvidia/common/board.c
@@ -482,3 +482,12 @@ void board_panic_no_console(const char *str)
send_output_with_pllp(216000000, str);
send_output_with_pllp(408000000, str);
}
+
+int board_late_init(void)
+{
+ /* Make sure we finish initing the LCD */
+#ifdef CONFIG_VIDEO_TEGRA2
+ tegra_lcd_check_next_stage(gd->blob, 1);
+#endif
+ return 0;
+}
diff --git a/drivers/video/tegra2.c b/drivers/video/tegra2.c
index 3f60c64fae7..065db7c140f 100644
--- a/drivers/video/tegra2.c
+++ b/drivers/video/tegra2.c
@@ -339,6 +339,8 @@ int tegra_lcd_check_next_stage(const void *blob, int wait)
void lcd_enable(void)
{
- /* This will be done when tegra_lcd_check_next_stage() is called */
- tegra_lcd_check_next_stage(gd->blob, 1);
+ /*
+ * This will be done when tegra_lcd_check_next_stage() is called
+ * board_late_init().
+ */
}