X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Ffsl_dcu_fb.h;h=7a5347a9247a941493143ee5b40f01c5d9989764;hb=ecd4d99f654f3f7bfb96001891d69c3125e70b69;hp=67e29e74e62c72f76407a606d7ddbc4d17581bf7;hpb=3fea95369850987de15a2a0ac009d05e13b90246;p=oweals%2Fu-boot.git diff --git a/include/fsl_dcu_fb.h b/include/fsl_dcu_fb.h index 67e29e74e6..7a5347a924 100644 --- a/include/fsl_dcu_fb.h +++ b/include/fsl_dcu_fb.h @@ -1,17 +1,22 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright 2014 Freescale Semiconductor, Inc. * * FSL DCU Framebuffer driver - * - * SPDX-License-Identifier: GPL-2.0+ */ #include -int fsl_dcu_init(unsigned int xres, unsigned int yres, +int fsl_dcu_init(struct fb_info *fbinfo, + unsigned int xres, + unsigned int yres, unsigned int pixel_format); + int fsl_dcu_fixedfb_setup(void *blob); /* Prototypes for external board-specific functions */ -int platform_dcu_init(unsigned int xres, unsigned int yres, - const char *port, struct fb_videomode *dcu_fb_videomode); +int platform_dcu_init(struct fb_info *fbinfo, + unsigned int xres, + unsigned int yres, + const char *port, + struct fb_videomode *dcu_fb_videomode); unsigned int dcu_set_pixel_clock(unsigned int pixclock);