From patchwork Wed Sep 11 15:10:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3452 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id AB4354355E for ; Wed, 11 Sep 2024 17:11:04 +0200 (CEST) Received: by mail-wr1-f69.google.com with SMTP id ffacd0b85a97d-374c79bf194sf1368183f8f.0 for ; Wed, 11 Sep 2024 08:11:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1726067464; cv=pass; d=google.com; s=arc-20240605; b=e+pyPXfCsyAI7h/nbRB74iv37keY/h0AX8pgcEXLVmv1gF2mf/VFHju2xaLJMq5Qs5 o+ZAg8ZyzZuI/9dGO3npxf6QncFDS10RkxkalT+KvAmRktO7sGx8aHgFkvfAzxyhWiLq +by4p+UjqeN4tqOWz3FpNUmlHP/W6wsOo4SeTwbqtZieSJUp5K1Ir3gYTms7HT/Ucte5 KYCkc7Az4+lH+s/n8kRkdvdbypmP/nJF6Hma8EdM5En91L6Wzy2GBji4j27WnXZZ3/Ti I/lK/7Hg9zYX4E2DdcP1yJgx4P9EAn0dF5+V+SRbJJnMcX+498XRW5jRC7vD4tyGjTGK tRBA== 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:to:from:dkim-signature; bh=yO+q7rToPplOFa45NIP2fCi9rUtXUWkZ4lB3JMo4iVU=; fh=RAh+90N7g6/BMIq6FJQi85SdEZEtNea0ptwYeLxy5EM=; b=ZGdp6HgBVtsgMxPFDvm1LYPsV/vD3TjNBIk/Bg2Qh6+DxH/wk93HAjTS/pxjx+UdI2 ro0M3eSFCcTZdKodt2RM1A+4XlYBKOVJfxWzPgi1p7Ukv/pz9b1Svwqrn69zCHznrcSX ShMny5nC0pIHahGLRQZ8meYevwZPy53H+8hWVvX2bK4STcm7wv1m1Q10YN2AK7Rejg5H ZS2Y0akMsnB0IFWYwtJeIj0/MwPu/LQuQ1v4me3ID+adZh00sxHQnOM8YvPZHA4ywnVx Y6LSHFyiaNCZu0IbWftS94Q+12VPe6AM2Q8dgcJouBGfQj7RJus57PBU4ortff+nvdmk 6+FQ==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=JihZGqNO; 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=1726067464; x=1726672264; 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:to:from:from:to:cc:subject:date:message-id:reply-to; bh=yO+q7rToPplOFa45NIP2fCi9rUtXUWkZ4lB3JMo4iVU=; b=JrVdYvbst/wPlO2DaXy1aEwDFWUi3HE3M7EAQFZSdICyv2ryRR134uBmnJR7bXxU48 E1LJRzxF1KSavIqfBUoeVWRpjy5LyBM5TOsSWxdotAThsvLHo6AYjZZ2IB4Zx2NhkRI+ lCdyE8fZR68eQUy3CWYo06bsqpKRqtWIpEpYI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726067464; x=1726672264; 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:to:from:x-beenthere :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=yO+q7rToPplOFa45NIP2fCi9rUtXUWkZ4lB3JMo4iVU=; b=Isw7dHVz9rxV3SDHJ0/TtnbnVB+2NMHLJgjCB0E3guJzftO0RchdnMZbt/XR4BYaYn fxj2NtieGMTChJD/ra/Ha8qhN3AHbGbxjrON3/PEqlHbokyuK58vhpzCmfVEoYir8GGt gXRzWvP6AgCvlYBokknPtCJuTO9ETCN3u2EjTKGGwAdRZ45n9ULfnW0F4fBvU7S1Fnmx vMuNsuGzTK5A1KTbdPHjN9S/1jfAWRJsHmk6LZdpfncMK6oclmdz/mFWn5BICHNdMy5Y PBb+q3SFH6utPKz7lY26bWxZNdt64PmLuQqTDpzpl98SLZX7fGlUpK/lRYz5O8lHANdH q1Rw== X-Forwarded-Encrypted: i=2; AJvYcCUHrKPS7ujPk7kDCNBM1LpMxG9OIxitMELzn8Z79DBLva6WPkRahxfra3agcll+MOkjNFzgLClFGR0IKR1C@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0YxUQUr5+6s50TMxW77jjd5OpH+DBGuSYUemFuButUmA8v8+ENoA /ESJpkC89jT7rxH64vIXJaeVyXTqPARoHvqnnomqlj8s//rm/znvWOcd0u3PwzdOvQ== X-Google-Smtp-Source: AGHT+IHbYF3WJLZfakGMU0Cjt4Or9gFboDyPxf85V0stHXR//Lx8scm2mAtqKqw3692oDYdt/SX7hA== X-Received: by 2002:a05:6000:1190:b0:371:844f:e0c with SMTP id ffacd0b85a97d-378b0791f5cmr2285284f8f.10.1726067464277; Wed, 11 Sep 2024 08:11:04 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a5d:6712:0:b0:368:31b2:9e93 with SMTP id ffacd0b85a97d-378a8b9f6c8ls802708f8f.1.-pod-prod-02-eu; Wed, 11 Sep 2024 08:11:03 -0700 (PDT) X-Received: by 2002:a05:600c:1987:b0:428:10d7:a4b1 with SMTP id 5b1f17b1804b1-42ccd35b222mr31356805e9.25.1726067462795; Wed, 11 Sep 2024 08:11:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726067462; cv=none; d=google.com; s=arc-20160816; b=cuk8BXeQUisH+uFbUptcgZjl78RpzG2tW6DPQlSV+SRx6xlBOPrm2YMA3roJwWLCde Qmwj2M+8W5POIf8tgs38j6WmT8j8D7KB9C89smVtSSygLepJ3LZkghc53EbnmxJsTrBC /nVjStEJ5KA5aztOH9lVeqDQXo1ITwBPk81+9VUVMyfcO7zgrydICGiiN+Qhz3v7dipk OfP23E8/k9uBu6Zubx7GHVOB9NEc0BuMVgTz7LhNVyeZvsAsX6MKaBlon77nEmQW2nk4 pMZpvDkj2SWrgi2rtKqIqDDhntzHfI9FBIe6oYJUnq3DEVDWVGcDQXJyLFMVdDZQWnmq pDOw== 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:to:from:dkim-signature; bh=y8Cn3ywTNKgStcI1e10YyY5OE7hFCy4IB472OZwKbsg=; fh=FtQepR0uNoeKT2PVdKfTKOkvEYfwbRmoVE9BmlYw3tk=; b=yfmzhijHSBbGPozN6vJ/7qukOxxoaOJ3HDneamv7m6Ugk5tmm2wkb4/YH2Wf4OSbQT mo7Nkb2GRsAL0CoxsTO0PSCe2tOSIe1udjQHdUaRMf1XWoafhDfnCnIG6a6x4bwTw7/8 we9fS/snobiepkL42DPzEAk8bJT9gd7AKcuHajeiN4wKABpCafXDNrz/O3yrhD5xuwhH X8foN9HzXUZUg2pq6tf7QzLoUJfRF22+qUkniMGtUonhEuJ4NuS968Bj6UHonsFQWT8p jiBYXjJvUGMugSDdZ1tjmCVOBFDRBW/qXeXwq6vbW6r41FQqg86nXKk9aA+ANS5yO9o2 a3nQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=JihZGqNO; 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 5b1f17b1804b1-42caf2a9e13sor41325715e9.2.2024.09.11.08.11.02 for (Google Transport Security); Wed, 11 Sep 2024 08:11:02 -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-Received: by 2002:a05:600c:4e90:b0:42c:b037:5fce with SMTP id 5b1f17b1804b1-42ccd30c0eamr31488285e9.3.1726067462155; Wed, 11 Sep 2024 08:11:02 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com ([2.196.41.3]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42cb116f44esm137688375e9.45.2024.09.11.08.11.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Sep 2024 08:11:01 -0700 (PDT) From: Dario Binacchi To: linux-amarula@amarulasolutions.com Subject: [PATCH v2 22/27] boot: fdt_simplefb: add a debug message Date: Wed, 11 Sep 2024 17:10:34 +0200 Message-ID: <20240911151039.2914886-22-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240911151039.2914886-1-dario.binacchi@amarulasolutions.com> References: <20240911151039.2914886-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=JihZGqNO; 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); }