From patchwork Fri Sep 13 09:56:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3489 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-lj1-f198.google.com (mail-lj1-f198.google.com [209.85.208.198]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 028AB411AB for ; Fri, 13 Sep 2024 11:57:28 +0200 (CEST) Received: by mail-lj1-f198.google.com with SMTP id 38308e7fff4ca-2f77be8ff40sf7050511fa.0 for ; Fri, 13 Sep 2024 02:57:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1726221447; cv=pass; d=google.com; s=arc-20240605; b=YT2uc6G8elb8GfM/W6C4mknHw2vnV25CskxSlqHpJTor7inoeDuTEY1DSoyAhVcIy/ 3dLG74f+zSLCxrj0B6FnysuRdQ2jPvMPtroqVep7vB0+JudrgnQsqHeOgXR/QNdbwQME 0wKBfEhEzEROZ8JTbQAScnT9+5EGhvURoYsGJWi86UFxkfzAncpZb/2LIF2KIcTYIXGZ HAIC5heyNk2Qz0hllbiPILSMQ+DIrscks5c8gjtafyKVNEgMpm+CSBuOmmr5kbDb6prY CrFEcnIKZBdrjJoPbvyXUWDNnsaohT7hc8qdRMbHFo5Xz6ocJIUnp31JrXco5z7zK2ot wOIw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=C5gxN853jQJ45VImKXAD+tG7o8JfyL6Pzw9LRSnDRpo=; fh=giRMStTZJPL8DoMflebO+jI2Dz7Qb+g6LF31Po0NjGo=; b=WBHPmrwPE5Jm13bPaRbn+w64cZC46P/z6x5feQf/i64Jo0htBvtmvcXjSUrfqmwXDf +xdLugcY5S8NxrgW7Fknvew799MN9fulFQauwo8xQoBIoLhTNx20BT3419dMh4nLmJnt kpAon0XSngk2mt3BX1N/BnaFwAfhQEIltmZ4cYcHT0xXFJtGOU+J/ygcsSr3MbTbK3E0 GXz08wZlUoyJa/I7omSq++zIGHzL/bmBlmuNumZpr+iWn3D/jEE1kVBezXStC2MOR3uQ eb9lOsYlld9svrI8kg7yMDjPXA4WQCvyaG3lhizUBcIOX1/1x5WOO6Mu/T9sJHfXMY7N lmKg==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=YRyYFg+k; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1726221447; x=1726826247; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=C5gxN853jQJ45VImKXAD+tG7o8JfyL6Pzw9LRSnDRpo=; b=C7ZycY/3vhh4xd5D6rm1uxWZmA3S2oeChDTtXC2z5RDBdoMJclHp77zXTIDqmJSPQ3 TaPh0dYKFRjNpKLFZmlvVdpDFmFaUEtE1hbnrmIz4rna7WQXx6nAzC3wwz0pcwCSXt4d 9AUEwTM6wSJevswLRm3HXQ5XJ52kweqO4T3bI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726221447; x=1726826247; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=C5gxN853jQJ45VImKXAD+tG7o8JfyL6Pzw9LRSnDRpo=; b=IbovLkhVQCWle4AIDfY/k7Sx170OqGAEaomdFUfphdV+QAfdxhcZHXDA60WrFxtvop FatIR1RCg+hZZ3JuhBaRnQ4/t0GVYTJHjFTb4AHtN63W4uPownWhmMcJ/AEaxCc0c6Xx EuDowNVW3k+g1uZjpobGE7ZyBYmaMPKy8DZUnqhjXyuixgYlp6B4100NaKUgCZeJcGcz rJcsYAVYwQZ3LdfKPx5B06VPypwEpnCR1lOgdtFrPaa0lf9W3322eWPgWuODsckVgZcZ 2z1bEbb82p2CbYd5A3/HBr/eHXpxX+oaN6qvk/hLlbSdi31anR9SUQZkFiNEFprNWxjm XCcw== X-Forwarded-Encrypted: i=2; AJvYcCUM+h+gY/Pwj9FCZ8IHrcf/1xy6jQ6bgSxHtMtKrrr16Q2jjwp3YXK0oiHbjFA1a/Bm1pB0uThF1CUtZdgO@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0Yw+uB6m5xqZPFu+oGV3ywWcpaTIatzKaz2nVwelub0SCsmJZ2l4 J7MJnjOtXXZluzyEIOVpXRmxH+l4umigS5qsaV/vv1zDcwT1tS0eqsvKDdeG1C4gZDhN9jFJRQ= = X-Google-Smtp-Source: AGHT+IGycfMQLjL6lxJmmMUl6tCInWS1pQa9lySeOFE2FFjkWe8+qrV9cJVQ8m3EwxX1DBg7wJVKlA== X-Received: by 2002:a05:6512:10d2:b0:535:d4e9:28ca with SMTP id 2adb3069b0e04-5367ff33836mr1578020e87.55.1726221447334; Fri, 13 Sep 2024 02:57:27 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6512:124b:b0:536:7377:640d with SMTP id 2adb3069b0e04-5367b75e064ls121212e87.2.-pod-prod-04-eu; Fri, 13 Sep 2024 02:57:26 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUy1/NaVzKO0+OngpIIpbs+e25WBNWCh6SOEdkRxTI6dlmB95mgOhKMLTD5nxFLZBw7JdrUV3UraZ3VHzrm@amarulasolutions.com X-Received: by 2002:a05:6512:3ca5:b0:535:6cde:5c4d with SMTP id 2adb3069b0e04-5367feb9b81mr1587177e87.3.1726221445530; Fri, 13 Sep 2024 02:57:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726221445; cv=none; d=google.com; s=arc-20160816; b=HXGZ6e70xlfCymYYTsmXoMuob9sQ7PPGXqpOKY3kdzcB1VOWm3iVm6wqH0BfA2AzYR F3Oa4rr5elFQCbTu+oQK5q8CKXkyhfOdmgEAQEMyrNnbPBUAAdEUlfCcY5KhJ40xw3pa VpMPSmr41aevXhrgLnAm8u3qo/PBjtt2sPnt/AxKXTHjiUWRsyXzIaf25ogMbAvqMC5V URMfVe47uS2OdMXSnCQRlQdXKuWtEZtHTN2J9TMoRrMRLBiNfmkvjcEdAId4vULcpXGw njC2mhdaodPF29l8xZNWHu2puB5gdYDLxqB9vcHxVyvhIZM5tEktq04sopAbdeUbhC88 HFZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=md9mav7G8ivFcb3vIm88GhY4xo0dNUxOtAaZPAgiaTw=; fh=lGukRekjB0unz/I7WDK/K/HyeiVp6qrpfVKoW3K549Y=; b=bL9LaCpyxqaXP4oS3tQcukZsykAmqfZxxAGkExovM0AJV7hWmnpQ3V12u9FHBjRkw7 482vDTPcPd6B001Dv8SF7dAA2ExSIJ4ofxisnvyHay1GTAINW+no1+ycgAkR1Z21rxbc GZcPFooMxaE1gbg9mD5kAJfOAiBn2RiN9PwgDbdk3lLLQpJxwTW0NoPDiKynp4bGlvC0 7QjMdN28yM4900yLaeFi0JFDrxWiqZ9Hx0CiyFwOSoFqnGHG9ZjJDWG/ttQWQ83antH6 z9+R+OjG7OLHnvxbdEUEoZxujqEgD9WVG7sqI8Z/gAdHO2x6ypTwu+peFumh39I0qxGF /hAw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=YRyYFg+k; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id a640c23a62f3a-a8d25a44284sor454727466b.12.2024.09.13.02.57.25 for (Google Transport Security); Fri, 13 Sep 2024 02:57:25 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Forwarded-Encrypted: i=1; AJvYcCX7M5ByqGdem3BT116BZKsE7wE2V/zZW/C16jB6HHsZhhBnTf67/+TlKdhHYNBKS2pIdosa6/hEhFv4iEgm@amarulasolutions.com X-Received: by 2002:a17:907:6e8b:b0:a89:f1b9:d391 with SMTP id a640c23a62f3a-a9047c9c504mr149174166b.14.1726221444987; Fri, 13 Sep 2024 02:57:24 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-87-4-102-18.retail.telecomitalia.it. [87.4.102.18]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a8d25cee72bsm863224766b.173.2024.09.13.02.57.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Sep 2024 02:57:24 -0700 (PDT) From: Dario Binacchi To: u-boot@lists.denx.de Cc: Fabio Estevam , linux-amarula@amarulasolutions.com, michael@amarulasolutions.com, Miquel Raynal , Dario Binacchi , Devarsh Thakkar , Nikhil M Jain , Simon Glass , Tom Rini Subject: [PATCH 21/26] boot: fdt_simplefb: add a debug message Date: Fri, 13 Sep 2024 11:56:03 +0200 Message-ID: <20240913095622.72377-22-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240913095622.72377-1-dario.binacchi@amarulasolutions.com> References: <20240913095622.72377-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=YRyYFg+k; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The printed information is useful when adding support for the simple frame buffer to a board. Co-developed-by: Michael Trimarchi Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- boot/fdt_simplefb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/boot/fdt_simplefb.c b/boot/fdt_simplefb.c index 53415548459a..22aaad9d5c5b 100644 --- a/boot/fdt_simplefb.c +++ b/boot/fdt_simplefb.c @@ -61,6 +61,8 @@ static int fdt_simplefb_configure_node(void *blob, int off) return -EINVAL; } + debug("Simple frame buffer at 0x%lx, pixels %dx%d, format %s\n", + fb_base, xsize, ysize, name); return fdt_setup_simplefb_node(blob, off, fb_base, xsize, ysize, xsize * (1 << bpix) / 8, name); }