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 7FB35C636D6 for ; Thu, 23 Feb 2023 18:11:38 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 41D8585B1E; Thu, 23 Feb 2023 19:11:17 +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="eMg8P8RT"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C866E85B10; Thu, 23 Feb 2023 19:10:53 +0100 (CET) Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) (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 980EA857FB for ; Thu, 23 Feb 2023 19:10:36 +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-ed1-x532.google.com with SMTP id cq23so45054242edb.1 for ; Thu, 23 Feb 2023 10:10:36 -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=4nDktILZ0LzYjZSG9UirMt8WqiGZTxYIMpUrv8eqh40=; b=eMg8P8RTPmkVWXHc9MwfaewroDW+fFuGYYBJE8L0ofeWwqYMXAtP2GcTNz6heHkx8g tXyE0+fOY0Rhk+PlhEoO3JKAxht5/HIjgbwNmzrun5TFznVlWOkgKc7Wkyj9h6sds8eZ U9TwW9tdYd2QRGmG9Ndb7ryYDAA4p2OdWPtiQzOA4ykILP7aUZKgelzvkVtR6sUaNv3c BV8vwGI8pzEBj5t7K58SvJkqcKwTnioy5jXoCvYfiw0/GPa5H6wJFUKw/xoW6SGx8lPK 9K0k/J710LhfnGBQYN+Z5ZVYyLQyASLCeGTLwOzunTmLwZSGInQPNk2O7/BB0DY5MXRL cKWQ== 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=4nDktILZ0LzYjZSG9UirMt8WqiGZTxYIMpUrv8eqh40=; b=OzsweAqIpJLj3hKqimlUJPlrTnMIuon+72guaaB2ENll85Dne7OoQs2VfDwFYpZRjm D2zLtAuw3MCtCYZd49zxq86evHmgNpWYDHEMuXbRVov4PM8Q7xmD72q4f96nhjpLWDVU 4FP5sIuZZdxy40OCSe0YhgoYB6n4kOf6myQUCa7XcXuz20DxPWGD3uAmLcBrVnCsEeSw 5f7cVNw7xQ19zDsCaBRTeMx6fBtYIZdC4E9frZOjAkwuvSg6x8TJurvZqbez0UiFBqAu HuvH+cs+91Gq1EprYDiW0Y9lGX6KYVUFeAFpi5xAD2sFC1RhtkjPOFO7yXT75lO5wwPl S2Hg== X-Gm-Message-State: AO0yUKUnJHokFfFdSC9dwo0vD+PiHVaM1IddczLW8nP6QeGZxWCZjHLW hItbIljKUFhBxnKMdDjU8X9y9Fs4V7A= X-Google-Smtp-Source: AK7set98bUqQJE20FUEkt3+DAkCP9whgHJKKJAwQ8vVS4nQl4zOvX4CsyIXv31D4AfrIKWqTt24pGA== X-Received: by 2002:aa7:d856:0:b0:4af:6a7e:9145 with SMTP id f22-20020aa7d856000000b004af6a7e9145mr3472425eds.14.1677175836180; Thu, 23 Feb 2023 10:10:36 -0800 (PST) Received: from debian.localdomain ([178.127.181.53]) by smtp.googlemail.com with ESMTPSA id j10-20020a50d00a000000b004af516b5010sm3822989edf.94.2023.02.23.10.10.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Feb 2023 10:10:35 -0800 (PST) From: Dzmitry Sankouski To: u-boot@lists.denx.de Cc: Dzmitry Sankouski , Anatolij Gustschin , Simon Glass Subject: [PATCH v6 3/9] video console: move 8x16 font data in named header Date: Thu, 23 Feb 2023 21:10:23 +0300 Message-Id: <20230223181030.1596976-4-dsankouski@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230223181030.1596976-1-dsankouski@gmail.com> References: <20230223181030.1596976-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 Reviewed-by: Simon Glass --- Changes for v2: N/A Changes for v3: N/A Charges for v4: N/A Charges for v5: N/A Charges for v6: rebase only 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