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 158D7C433FE for ; Wed, 19 Oct 2022 11:28:03 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C9AF384FA2; Wed, 19 Oct 2022 13:25:57 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="KwnjpDDr"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 75C8484F94; Wed, 19 Oct 2022 13:25:37 +0200 (CEST) Received: from mail-il1-x130.google.com (mail-il1-x130.google.com [IPv6:2607:f8b0:4864:20::130]) (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 38B7D84F94 for ; Wed, 19 Oct 2022 13:24:52 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-il1-x130.google.com with SMTP id i9so8981506ilv.9 for ; Wed, 19 Oct 2022 04:24:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; 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=MQanMYJlFtc+pptYb6Kt/6u8DOZgoCAoov9XHKkQxk4=; b=KwnjpDDrrwMMLR79drAfu5PxXk34VK09W9+W5JkuPGG8VJKZp2DXusnnM8tOnJ/e1W glLA3SFcbKx8PQ+FFSrDWYednHxnbSkz+MvBK4414VQcqptvBBvU03WyyrBtLU37yHag rrvWyG+TGlt+UnHog6KTM65aOt92RwDD++m+A= 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=MQanMYJlFtc+pptYb6Kt/6u8DOZgoCAoov9XHKkQxk4=; b=Z0OAO3iGoAUzka0nmvcMQ9E1fnRD5AxMsihi/GnhSUojIMPVWHwYByCkbZUZeJAEaK a/PRgsnY1tKZzq4S6OBx61HeccTrHcFHtdyOqufCrTPKKPO5cJNCR0gUkP/SrHUVeyb4 P8ctPca9a4OaIpNyKvroLgtdDK243T9sN1QhLFBFb3WKOYXQoBaD7BNE7eJYVHkCyeGj ZvxhHvoGseuQmC0yzX/pWvkYGqhuVgchpzh8qO5wVZ0SwnldHwy5fbXN0zlna22AxZwo YQj47bd1dvMpy5YGD0JKirc7lWHgFqCQXpHXtX3JpbFs8K/zyDKt0lFHk992417HUblh VWBw== X-Gm-Message-State: ACrzQf0WaBhChK7Nd4/G9LVvHknAiUxkcColTv7T4HsE3x7mGnR8isAW 6UvZkoyRZ5fgvr+9wE7U9gQOTbl/9BatjA== X-Google-Smtp-Source: AMsMyM7nVz/jZ355ZxwwFv02yZN2uYVscBudz0XNsUdv6DmyNd9aYBZbBzXV9nYP+65mc4fuK+twZg== X-Received: by 2002:a05:6e02:1988:b0:2fc:907b:d1b4 with SMTP id g8-20020a056e02198800b002fc907bd1b4mr5294266ilf.155.1666178688325; Wed, 19 Oct 2022 04:24:48 -0700 (PDT) Received: from sjg1.roam.corp.google.com (c-67-190-102-125.hsd1.co.comcast.net. [67.190.102.125]) by smtp.gmail.com with ESMTPSA id g34-20020a022722000000b003634aa4a55asm2041156jaa.82.2022.10.19.04.24.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Oct 2022 04:24:47 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Anatolij Gustschin , Simon Glass Subject: [PATCH 11/39] api: Drop LCD implementation Date: Wed, 19 Oct 2022 05:23:28 -0600 Message-Id: <20221019112356.1042065-12-sjg@chromium.org> X-Mailer: git-send-email 2.38.0.413.g74048e4d9e-goog In-Reply-To: <20221019112356.1042065-1-sjg@chromium.org> References: <20221019112356.1042065-1-sjg@chromium.org> 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 This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass --- api/api_display.c | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/api/api_display.c b/api/api_display.c index 84debac48af..2e877a85d14 100644 --- a/api/api_display.c +++ b/api/api_display.c @@ -5,14 +5,7 @@ #include #include -#include #include -#include /* Get font width and height */ - -/* lcd.h needs BMP_LOGO_HEIGHT to calculate CONSOLE_ROWS */ -#if defined(CONFIG_LCD_LOGO) -#include -#endif /* TODO(clchiou): add support of video device */ @@ -26,14 +19,6 @@ int display_get_info(int type, struct display_info *di) debug("%s: unsupport display device type: %d\n", __FILE__, type); return API_ENODEV; -#ifdef CONFIG_LCD - case DISPLAY_TYPE_LCD: - di->pixel_width = panel_info.vl_col; - di->pixel_height = panel_info.vl_row; - di->screen_rows = lcd_get_screen_rows(); - di->screen_cols = lcd_get_screen_columns(); - break; -#endif } di->type = type; @@ -44,16 +29,9 @@ int display_draw_bitmap(ulong bitmap, int x, int y) { if (!bitmap) return API_EINVAL; -#ifdef CONFIG_LCD - return lcd_display_bitmap(bitmap, x, y); -#else return API_ENODEV; -#endif } void display_clear(void) { -#ifdef CONFIG_LCD - lcd_clear(); -#endif } -- 2.38.0.413.g74048e4d9e-goog