X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fipu_pixfmt.h;h=866ead0ec719284609c1d6a21cbfd27382c40561;hb=dc18413adbf188ffdfb0706023249e7c03b29545;hp=656f605462ea66031e1247be7cd28cc8782fcf3f;hpb=d639a8ccb0aa3c8c9d4ba0b642951f5534dcbdf1;p=oweals%2Fu-boot.git diff --git a/include/ipu_pixfmt.h b/include/ipu_pixfmt.h index 656f605462..866ead0ec7 100644 --- a/include/ipu_pixfmt.h +++ b/include/ipu_pixfmt.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Copyright 2011 * Stefano Babic, DENX Software Engineering, sbabic@denx.de @@ -5,24 +6,6 @@ * Based on Linux IPU driver for MX51 (ipu.h): * * (C) Copyright 2005-2010 Freescale Semiconductor, Inc. - * - * See file CREDITS for list of people who contributed to this - * project. - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA */ #ifndef __IPU_PIXFMT_H__ @@ -76,6 +59,9 @@ #define IPU_PIX_FMT_YVU422P fourcc('Y', 'V', '1', '6') /*< 16 YVU 4:2:2 */ #define IPU_PIX_FMT_YUV422P fourcc('4', '2', '2', 'P') /*< 16 YUV 4:2:2 */ -int mx51_fb_init(struct fb_videomode *mode, uint8_t disp, uint32_t pixfmt); +int ipuv3_fb_init(struct fb_videomode const *mode, + uint8_t disp, + uint32_t pixfmt); +void ipuv3_fb_shutdown(void); #endif