X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=drivers%2Fvideo%2Fsed13806.c;h=cd7fac6f970603f8f111e47d4d06b9a61759fd50;hb=8ceb2429c97cc037bd2a6f27f4645d02a78e7aa5;hp=6996ca805ebf9ad6164c2881f5952857fd85cc8c;hpb=352d259130b349fe9593b8dada641bd78a9659e5;p=oweals%2Fu-boot.git diff --git a/drivers/video/sed13806.c b/drivers/video/sed13806.c index 6996ca805e..cd7fac6f97 100644 --- a/drivers/video/sed13806.c +++ b/drivers/video/sed13806.c @@ -1,32 +1,14 @@ /* * (C) Copyright 2002 - * Stäubli Faverges - + * Stäubli Faverges - * Pierre AUBERT p.aubert@staubli.com * - * 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 + * SPDX-License-Identifier: GPL-2.0+ */ /* Video support for Epson SED13806 chipset */ #include -#ifdef CONFIG_VIDEO_SED13806 - #include #include @@ -36,13 +18,8 @@ #define writeByte(ptrReg,value) \ *(volatile unsigned char *)(sed13806.isaBase + ptrReg) = value -#ifdef CONFIG_TOTAL5200 -#define writeWord(ptrReg,value) \ - (*(volatile unsigned short *)(sed13806.isaBase + ptrReg) = value) -#else #define writeWord(ptrReg,value) \ (*(volatile unsigned short *)(sed13806.isaBase + ptrReg) = ((value >> 8 ) & 0xff) | ((value << 8) & 0xff00)) -#endif GraphicDevice sed13806; @@ -307,4 +284,3 @@ void video_init_hw_cursor (int font_width, int font_height) writeByte (LCD_CURSOR_CNTL, 1); } #endif -#endif