summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorMarc Dietrich <marvin24@gmx.de>2012-11-25 11:26:11 +0000
committerTom Warren <twarren@nvidia.com>2013-01-16 13:40:07 -0700
commit716d94398344baa313c381b64c97ea20544454ca (patch)
treef653563a4ce3df33beb0c76eb41090f64cba988d /board
parente1abca51b7f479828ae651d9bb54966b7fd6784a (diff)
downloadu-boot-imx-716d94398344baa313c381b64c97ea20544454ca.zip
u-boot-imx-716d94398344baa313c381b64c97ea20544454ca.tar.gz
u-boot-imx-716d94398344baa313c381b64c97ea20544454ca.tar.bz2
tegra: display: add board pinmux
Boards may require a different pinmux setup for DISPALY than the default one. Add a way to call into board specific code to set this up. Signed-off-by: Marc Dietrich <marvin24@gmx.de> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'board')
-rw-r--r--board/nvidia/common/board.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/board/nvidia/common/board.c b/board/nvidia/common/board.c
index 76ec687..819c120 100644
--- a/board/nvidia/common/board.c
+++ b/board/nvidia/common/board.c
@@ -87,6 +87,12 @@ void __pin_mux_nand(void)
void pin_mux_nand(void) __attribute__((weak, alias("__pin_mux_nand")));
+void __pin_mux_display(void)
+{
+}
+
+void pin_mux_display(void) __attribute__((weak, alias("__pin_mux_display")));
+
/*
* Routine: power_det_init
* Description: turn off power detects
@@ -126,6 +132,7 @@ int board_init(void)
debug("%s: Failed to init pwm\n", __func__);
#endif
#ifdef CONFIG_LCD
+ pin_mux_display();
tegra_lcd_check_next_stage(gd->fdt_blob, 0);
#endif
/* boot param addr */