xref: /openbmc/u-boot/include/fsl_diu_fb.h (revision ba8e76bd)
19e70d137SAnatolij Gustschin /*
2*ba8e76bdSTimur Tabi  * Copyright 2007, 2011 Freescale Semiconductor, Inc.
3*ba8e76bdSTimur Tabi  * Authors: York Sun <yorksun@freescale.com>
4*ba8e76bdSTimur Tabi  *          Timur Tabi <timur@freescale.com>
59e70d137SAnatolij Gustschin  *
69e70d137SAnatolij Gustschin  * FSL DIU Framebuffer driver
79e70d137SAnatolij Gustschin  *
89e70d137SAnatolij Gustschin  * See file CREDITS for list of people who contributed to this
99e70d137SAnatolij Gustschin  * project.
109e70d137SAnatolij Gustschin  *
119e70d137SAnatolij Gustschin  * This program is free software; you can redistribute it and/or
129e70d137SAnatolij Gustschin  * modify it under the terms of the GNU General Public License as
139e70d137SAnatolij Gustschin  * published by the Free Software Foundation; either version 2 of
149e70d137SAnatolij Gustschin  * the License, or (at your option) any later version.
159e70d137SAnatolij Gustschin  *
169e70d137SAnatolij Gustschin  * This program is distributed in the hope that it will be useful,
179e70d137SAnatolij Gustschin  * but WITHOUT ANY WARRANTY; without even the implied warranty of
189e70d137SAnatolij Gustschin  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
199e70d137SAnatolij Gustschin  * GNU General Public License for more details.
209e70d137SAnatolij Gustschin  *
219e70d137SAnatolij Gustschin  * You should have received a copy of the GNU General Public License
229e70d137SAnatolij Gustschin  * along with this program; if not, write to the Free Software
239e70d137SAnatolij Gustschin  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
249e70d137SAnatolij Gustschin  * MA 02111-1307 USA
259e70d137SAnatolij Gustschin  */
269e70d137SAnatolij Gustschin 
27*ba8e76bdSTimur Tabi int fsl_diu_init(int xres, u32 pixel_format, int gamma_fix);
289e70d137SAnatolij Gustschin 
29*ba8e76bdSTimur Tabi /* Prototypes for external board-specific functions */
30*ba8e76bdSTimur Tabi int platform_diu_init(unsigned int xres, unsigned int yres, const char *port);
31*ba8e76bdSTimur Tabi void diu_set_pixel_clock(unsigned int pixclock);
32