Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 989E4C6379F for ; Wed, 15 Feb 2023 11:44:51 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5173185A6C; Wed, 15 Feb 2023 12:44:10 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="JG0dr65f"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 767C685A29; Wed, 15 Feb 2023 12:43:20 +0100 (CET) Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 52D7C85A2C for ; Wed, 15 Feb 2023 12:43:08 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=dsankouski@gmail.com Received: by mail-ej1-x634.google.com with SMTP id qw12so47547921ejc.2 for ; Wed, 15 Feb 2023 03:43:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Qd5V9r5cwPxcTf63bzDgl7VNOrhl/SZaG36iOCmxWB8=; b=JG0dr65fPuezoXG4WTOsSWwPD/BMiRGqz01yPCvMImL06iD92I5Y+P6IWUypdbbAda IcNTbBGIBqUbBPRH4lTJ+h/E6hU39Wlt+NfP7+u3tNYl0dZexUxdfwRzNSxhxx5rZ993 3++23k4W+fnUwvqe3kpytNDqo6ioDQ7R7p7RydYdqcmw8Pk2Q2B8lO7+0MnK+R9gT0ps QANmRFNoj/G9rj/Bwgo0AgDtZqGgDoeH9knCrTdFmmHLN64bCoVFDRTBp/87IRT2PnuB grfhdwJETmoinmCi5qI/97iP0RhmdffLJPd6y8y7lmlqIL2oNGlRVnvrUjBqa2tCAtSG wtGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Qd5V9r5cwPxcTf63bzDgl7VNOrhl/SZaG36iOCmxWB8=; b=WREY8CwhL7g++CbfTGtpIh1Pn+NPKO8ptCczDXKXljotW0ozZbIh0RRVMtNPyBlDb0 jubh+b/M6KpFCch6NzFCZuBqkD4LYOZhey2P0RtjCh+6ZeahPq7WXaxaxIcQnjC7B27d 5bFQSsu4Yq6qbAX873Zq/oUd4Wx5EJZll07D25hnCR16xdBcgdkExVJETI7JxzYj4daS DtDal+9hPfCIjZ9QzAGdeq0UVN2gHCmn9ED0hk/jD40kUXRPx19opaqwP/TxB3Zg88xA YIM3nlVSwdpoX2AsRdQRRuPsrmVw4Fnwa/SoDgjwuXvz0IhiNcuPm/l15RmB/EO5ZqH+ QDrA== X-Gm-Message-State: AO0yUKWwSHOqeQ5Gf1aWtGYoHzW3CoU94GLIlouqEUTSxhoiXk65Sx3k wo++U+VRumh42E/dOoPz3JbZTGEZ2zU= X-Google-Smtp-Source: AK7set8eoG32FGxmHYB8uy6M1NBSr1NHQtmgmi80qYnk7StUen9P2a8HArS2BO3kYUfMiJ8bDl0QwQ== X-Received: by 2002:a17:907:2179:b0:8b1:353a:2636 with SMTP id rl25-20020a170907217900b008b1353a2636mr2120234ejb.14.1676461387558; Wed, 15 Feb 2023 03:43:07 -0800 (PST) Received: from debian.localdomain ([37.45.175.233]) by smtp.googlemail.com with ESMTPSA id gz19-20020a170906f2d300b008b14b63d3besm299247ejb.197.2023.02.15.03.43.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Feb 2023 03:43:07 -0800 (PST) From: Dzmitry Sankouski To: u-boot@lists.denx.de Cc: Dzmitry Sankouski , Anatolij Gustschin Subject: [PATCH v3 4/9] video console: move 8x16 font data in named header Date: Wed, 15 Feb 2023 14:42:55 +0300 Message-Id: <20230215114300.1151303-5-dsankouski@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230215114300.1151303-1-dsankouski@gmail.com> References: <20230215114300.1151303-1-dsankouski@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean Consistent font data header names needed to add new fonts. Signed-off-by: Dzmitry Sankouski --- Changes for v2: N/A Changes for v3: N/A include/video_font.h | 2 +- include/{video_font_data.h => video_font_8x16.h} | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) rename include/{video_font_data.h => video_font_8x16.h} (99%) diff --git a/include/video_font.h b/include/video_font.h index 5e23f70f85..b07c07662c 100644 --- a/include/video_font.h +++ b/include/video_font.h @@ -10,7 +10,7 @@ #ifdef CONFIG_VIDEO_FONT_4X6 #include #else -#include +#include #endif #endif /* _VIDEO_FONT_ */ diff --git a/include/video_font_data.h b/include/video_font_8x16.h similarity index 99% rename from include/video_font_data.h rename to include/video_font_8x16.h index 6e64198d1a..d3d4295032 100644 --- a/include/video_font_data.h +++ b/include/video_font_8x16.h @@ -6,8 +6,8 @@ * This file contains an 8x16 bitmap font for code page 437. */ -#ifndef _VIDEO_FONT_DATA_ -#define _VIDEO_FONT_DATA_ +#ifndef _VIDEO_FONT_8X16 +#define _VIDEO_FONT_8X16 #define VIDEO_FONT_CHARS 256 #define VIDEO_FONT_WIDTH 8 @@ -4623,7 +4623,6 @@ static unsigned char __maybe_unused video_fontdata[VIDEO_FONT_SIZE] = { 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ - }; #endif -- 2.30.2