Message ID | 20200928004624.1652803-11-sjg@chromium.org |
---|---|
State | Accepted |
Commit | 5630d2fbc50f3035e3234315fb1ebed198d3292d |
Delegated to: | Tom Rini |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: 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=oakeCXcT; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4C03mR5BpVz9sSs for <incoming@patchwork.ozlabs.org>; Mon, 28 Sep 2020 10:48:39 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A558E823A9; Mon, 28 Sep 2020 02:46: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="oakeCXcT"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 09F4D82332; Mon, 28 Sep 2020 02:46:45 +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.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-oi1-x242.google.com (mail-oi1-x242.google.com [IPv6:2607:f8b0:4864:20::242]) (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 558C882355 for <u-boot@lists.denx.de>; Mon, 28 Sep 2020 02:46:41 +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-oi1-x242.google.com with SMTP id z26so9759053oih.12 for <u-boot@lists.denx.de>; Sun, 27 Sep 2020 17:46:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=O8mff2aeRCAnz5vwzs4vLxUsebP1abRTqMc21dEYPHs=; b=oakeCXcTc+iti/aCNsCAYQPkaMQe4KBHbcNc+DAzp0A5riRep6s03HQgm8LuebO71v 5unOBlNsGvrJZqzHVH65nIaGck5gN3AUupxx4A5DCcyH0BdLVPT7x+YVj5bv3DBJ3UdX dLdUWVx+JIxqif4RfJJet958fbtLTOTLsAu3k= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=O8mff2aeRCAnz5vwzs4vLxUsebP1abRTqMc21dEYPHs=; b=OgKwwx76yz79NAm8uC8/mBV7T0aQODHiGK3EpX2EHITyainsaCL24zK3rLliKhKd4l KyGrrD9dTJKm3aAVykQBUSBF/6UolMyHeRpT0VoFBzfuQ4P/G3eTf49kHmGe23J8btiv +t+oTASUDWzLqMipNjzSzpZn9rawROjJWe7uNmKvsFfrciTqEy0DqA28mGOMQVGUDXEl gRhyZsu13rz7PiwouWG1lLVUUtg2Z3iuhfkw7ECTKmOULjAmcsGGKZ6g6Jr6WmFnbAdr 6JS+db6cNbZjxoPJuJQcaxC0eE51LbjxNSLqyW+haYT3K1sTXQ176Pv/rqbXzuGi/7Yh 5Jmw== X-Gm-Message-State: AOAM5319cg6W8PC0SGc8BY4L6YfxsdZAPW7Er2X1b6pGi4r6HqHsGnq5 TftVE8iMDx1Qp0QwBTO8wtPfQbVe6XFN0roT X-Google-Smtp-Source: ABdhPJzg1Z2/uCL5xJ0SWX52p1SEeh8X0XwBm1JOWVAJADxxmsb2CSHuRs0H7CKYy0X3P5hHSAMwKw== X-Received: by 2002:aca:5297:: with SMTP id g145mr4776631oib.139.1601254000084; Sun, 27 Sep 2020 17:46:40 -0700 (PDT) Received: from localhost.localdomain (c-73-14-175-90.hsd1.co.comcast.net. [73.14.175.90]) by smtp.gmail.com with ESMTPSA id t7sm1790995ooq.0.2020.09.27.17.46.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Sep 2020 17:46:39 -0700 (PDT) From: Simon Glass <sjg@chromium.org> To: U-Boot Mailing List <u-boot@lists.denx.de> Cc: Simon Glass <sjg@chromium.org>, Bin Meng <bmeng.cn@gmail.com>, Masahiro Yamada <masahiroy@kernel.org>, Ovidiu Panait <ovidiu.panait@windriver.com>, Patrick Delaunay <patrick.delaunay@st.com>, Stefan Roese <sr@denx.de>, Stephen Warren <swarren@nvidia.com> Subject: [PATCH 10/12] board: Show memory for frame buffers Date: Sun, 27 Sep 2020 18:46:22 -0600 Message-Id: <20200928004624.1652803-11-sjg@chromium.org> X-Mailer: git-send-email 2.28.0.681.g6f77f65b4e-goog In-Reply-To: <20200928004624.1652803-1-sjg@chromium.org> References: <20200928004624.1652803-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.102.3 at phobos.denx.de X-Virus-Status: Clean |
Series |
Various minor patches
|
expand
|
On Sun, Sep 27, 2020 at 06:46:22PM -0600, Simon Glass wrote: > When debugging is enabled, show the memory allocated to video frame > buffers. > > Signed-off-by: Simon Glass <sjg@chromium.org> Applied to u-boot/master, thanks!
diff --git a/common/board_f.c b/common/board_f.c index e99277d7e88..9f441c44f17 100644 --- a/common/board_f.c +++ b/common/board_f.c @@ -392,6 +392,8 @@ static int reserve_video(void) ret = video_reserve(&addr); if (ret) return ret; + debug("Reserving %luk for video at: %08lx\n", + (unsigned long)gd->relocaddr - addr, addr); gd->relocaddr = addr; #elif defined(CONFIG_LCD) # ifdef CONFIG_FB_ADDR
When debugging is enabled, show the memory allocated to video frame buffers. Signed-off-by: Simon Glass <sjg@chromium.org> --- common/board_f.c | 2 ++ 1 file changed, 2 insertions(+)