X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Ffsl_dcu_fb.h;h=7a5347a9247a941493143ee5b40f01c5d9989764;hb=74ce1f8c6f29ddc153d31d01703980c99ee7a7ee;hp=42632984d359df36e7b1ad2fa2260132459eaea4;hpb=42817eb85de1d7dec399c75dbd133ea6b5351a72;p=oweals%2Fu-boot.git diff --git a/include/fsl_dcu_fb.h b/include/fsl_dcu_fb.h index 42632984d3..7a5347a924 100644 --- a/include/fsl_dcu_fb.h +++ b/include/fsl_dcu_fb.h @@ -1,16 +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);