Exemplo n.º 1
0
//  Function:  lcd_config
//  This function configures the LCD
void lcd_config(void){    

	reset_display_controller();

	// Enable LCD clocks
	enable_lcd_power();

	// Configure the DSS registers
	configure_dss(framebuffer);

	// Display data on LCD
	display_lcd_image();
}
Exemplo n.º 2
0
static int configure_lcd(l4_addr_t frame_buffer)
{
	if (is_omap3evm())
	{
		if (configure_lcd_evm())
			return -1;
	}

	if (is_overo())
	{
		if (configure_lcd_overo())
			return -1;
	}

	configure_dss(frame_buffer);

	display_lcd_image();

    return 0;
}
Exemplo n.º 3
0
//------------------------------------------------------------------------------
//
//  Function:  lcd_config
//
//  This function configures the LCD
//
void lcd_config(UINT32 framebuffer)
{    
    reset_display_controller();

    // Enable LCD clocks
    enable_lcd_power();

    // Configure the DSS registers
    configure_dss(framebuffer);
      
    // Display data on LCD
    display_lcd_image() ;
    
    //if (IsDVIMode())
        // DVI is selected, disable backlight
    //    disable_lcd_backlight();
    //else
        // Turn on backlight last
        enable_lcd_backlight();

}