From mboxrd@z Thu Jan 1 00:00:00 1970 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 84E10C4332F for ; Wed, 19 Oct 2022 11:30:09 +0000 (UTC) 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) 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 ; 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 ; 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 To: U-Boot Mailing List Cc: Anatolij Gustschin , Simon Glass , Jerry Van Baren , Matthias Brugger , Patrice Chotard , Patrick Delaunay 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 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 --- common/fdt_simplefb.c | 8 -------- 1 file changed, 8 deletions(-) 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 #include -#include #include #include #include @@ -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"; -- 2.38.0.413.g74048e4d9e-goog