summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2011-12-19 15:29:27 -0800
committerSimon Glass <sjg@chromium.org>2012-01-05 15:57:50 -0800
commit7e52b5d6a28f55074d011f955c0a16889bc197f0 (patch)
treef2f8279932374348dbb7204094cf34d283fab4dd /board
parent384aa66841ff5e83701a9384823a4890e025028c (diff)
tegra: Use board_late_init() to finalize LCD init
We need to make sure that the LCD is ready before we complete booting, so put this code into board_late_init(). BUG=chromium-os:22938 TEST=build and boot on Kaen Change-Id: I97bd1fce6ac93d0639dd8fdb17bf83e8a78d2645 Reviewed-on: https://gerrit.chromium.org/gerrit/13213 Commit-Ready: Simon Glass <sjg@chromium.org> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board')
-rw-r--r--board/nvidia/common/board.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/board/nvidia/common/board.c b/board/nvidia/common/board.c
index 59307c3e7d..049d908adf 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;
+}