colibri-imx6ull: improve env badblock management
[platform/kernel/u-boot.git] / include / fsl_diu_fb.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright 2007, 2011 Freescale Semiconductor, Inc.
4  * Authors: York Sun <yorksun@freescale.com>
5  *          Timur Tabi <timur@freescale.com>
6  *
7  * FSL DIU Framebuffer driver
8  */
9
10 int fsl_diu_init(u16 xres, u16 yres, u32 pixel_format, int gamma_fix);
11
12 /* Prototypes for external board-specific functions */
13 int platform_diu_init(unsigned int xres, unsigned int yres, const char *port);
14 void diu_set_pixel_clock(unsigned int pixclock);