]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/freescale/mx23evk/mx23evk.c
mx23evk: Add splash screen support
[karo-tx-uboot.git] / board / freescale / mx23evk / mx23evk.c
index 41ba303ec446570793750fa236d6d360eae3cbf0..d25e2b37ce2d1410154a8a21a174308195b6ad7c 100644 (file)
@@ -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;
 }