summaryrefslogtreecommitdiff
path: root/drivers
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 /drivers
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 'drivers')
-rw-r--r--drivers/video/tegra2.c6
1 files changed, 4 insertions, 2 deletions
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().
+ */
}