diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2013-05-10 09:14:10 +0000 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2013-05-16 17:44:46 +0200 |
commit | eadfc135d3df76620cfef5e6928d64fb8874c665 (patch) | |
tree | 7cf9da9cd705285c5d4d18274a0e9eb9f740d448 /board/freescale/mx23evk/mx23evk.c | |
parent | 68661db2dcc9c9eeaab11ecc4b75275d0803b63b (diff) | |
download | u-boot-imx-eadfc135d3df76620cfef5e6928d64fb8874c665.zip u-boot-imx-eadfc135d3df76620cfef5e6928d64fb8874c665.tar.gz u-boot-imx-eadfc135d3df76620cfef5e6928d64fb8874c665.tar.bz2 |
mx23evk: Add splash screen support
Enable display support.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'board/freescale/mx23evk/mx23evk.c')
-rw-r--r-- | board/freescale/mx23evk/mx23evk.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/board/freescale/mx23evk/mx23evk.c b/board/freescale/mx23evk/mx23evk.c index 41ba303..d25e2b3 100644 --- a/board/freescale/mx23evk/mx23evk.c +++ b/board/freescale/mx23evk/mx23evk.c @@ -43,6 +43,12 @@ int board_early_init_f(void) /* SSP0 clock at 96MHz */ mxs_set_sspclk(MXC_SSPCLK0, 96000, 0); + /* Power on LCD */ + gpio_direction_output(MX23_PAD_LCD_RESET__GPIO_1_18, 1); + + /* Set contrast to maximum */ + gpio_direction_output(MX23_PAD_PWM2__GPIO_1_28, 1); + return 0; } |