Message ID | 20221019112356.1042065-30-sjg@chromium.org |
---|---|
State | Accepted |
Delegated to: | Anatolij Gustschin |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=mTfxLJXe; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4MspS6525Bz23k2 for <incoming@patchwork.ozlabs.org>; Wed, 19 Oct 2022 22:30:14 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8627784FEE; Wed, 19 Oct 2022 13:27:17 +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="mTfxLJXe"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3480C85017; Wed, 19 Oct 2022 13:26:19 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 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 CDCE784F92 for <u-boot@lists.denx.de>; Wed, 19 Oct 2022 13:25:27 +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 q11so8968707ilj.10 for <u-boot@lists.denx.de>; Wed, 19 Oct 2022 04:25:27 -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=ygRvAJ4uO9omz8tkA8cfvXOMlClftRJ402us0o8yjxk=; b=mTfxLJXeOd8XYsBK3zQLKL7D/6iP+jNUP3Um84rvGIrdiOe2p3tCTann9u1iayJLcs ZrOA0JpIog+nVpOtXa1QPTGyi5lV8TTw1U+DSGwqMk+7rv14S5JDJh2TDCnTKZW3r0P1 uc6iCbLcwhlvZ3A3+9YgzFYflFAnPff3mAeuk= 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=ygRvAJ4uO9omz8tkA8cfvXOMlClftRJ402us0o8yjxk=; b=C5nVsKKwF280YlWGW0B1rd23P3lTDRr1WpI7aYTOZn+I+aO6oNprRRgXBrtVrUBkHF bKKl2v+/WAu2MQXG9DtDjrQ77P8ASBHSKGbXJ2iaCXJHLddTYnseL0s2YrekAkUB2D6W 0v8bzwBQzCf118zCotPZ+p/bYfxuF6zdtNTFSI/73R/7ktiWzbRleq5jXf1R2MGhOFv0 RYLED8IJ+hpyhEhA1OC8haBwP2cnEy2NcY8Jdi8O6X2r9Wsc1L7L/nCigeFATg5Abfgo KzHvzPTkste+4o93yxXxnWXbtydlKVL/XE81A8aUfZrlIaRuNk87K8GQh3/tomePvqWa lkCQ== X-Gm-Message-State: ACrzQf2NrnBcONBXqmpooVxKOior8/m0q8sUr6qrQoBOA8DFRv8i4uOU OnX3RJ/xaFOy3Jwik26TU+dmxQKlH2Infw== X-Google-Smtp-Source: AMsMyM7FPl1J3MGzsE5ALgQHNhZ1Uh9sUz/Vfa4USsKi8ALwl5cbAcenq9I+j2log/0Z+SSHQb6gKw== X-Received: by 2002:a92:6a12:0:b0:2f6:3bd1:fbdf with SMTP id f18-20020a926a12000000b002f63bd1fbdfmr5069912ilc.205.1666178704629; Wed, 19 Oct 2022 04:25:04 -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.25.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Oct 2022 04:25:04 -0700 (PDT) From: Simon Glass <sjg@chromium.org> To: U-Boot Mailing List <u-boot@lists.denx.de> Cc: Anatolij Gustschin <agust@denx.de>, Simon Glass <sjg@chromium.org>, Jerry Van Baren <vanbaren@cideas.com>, Matthias Brugger <mbrugger@suse.com>, Patrice Chotard <patrice.chotard@foss.st.com>, Patrick Delaunay <patrick.delaunay@foss.st.com> Subject: [PATCH 29/39] fdt: Drop support for LCD fixup in simplefb Date: Wed, 19 Oct 2022 05:23:46 -0600 Message-Id: <20221019112356.1042065-30-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 <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean |
Series |
lcd: Drop old LCD support
|
expand
|
diff --git a/common/fdt_simplefb.c b/common/fdt_simplefb.c index c52846f4bc5..951956430c3 100644 --- a/common/fdt_simplefb.c +++ b/common/fdt_simplefb.c @@ -8,7 +8,6 @@ #include <common.h> #include <dm.h> -#include <lcd.h> #include <fdt_support.h> #include <asm/global_data.h> #include <linux/libfdt.h> @@ -22,7 +21,6 @@ static int fdt_simplefb_configure_node(void *blob, int off) int bpix; /* log2 of bits per pixel */ const char *name; ulong fb_base; -#ifdef CONFIG_DM_VIDEO struct video_uc_plat *plat; struct video_priv *uc_priv; struct udevice *dev; @@ -37,12 +35,6 @@ static int fdt_simplefb_configure_node(void *blob, int off) ysize = uc_priv->ysize; bpix = uc_priv->bpix; fb_base = plat->base; -#else - xsize = lcd_get_pixel_width(); - ysize = lcd_get_pixel_height(); - bpix = LCD_BPP; - fb_base = gd->fb_base; -#endif switch (bpix) { case 4: /* VIDEO_BPP16 */ name = "r5g6b5";
This relies on the old LCD implementation which is to be removed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> --- common/fdt_simplefb.c | 8 -------- 1 file changed, 8 deletions(-)