Message ID | 20200510201702.196031-31-sjg@chromium.org |
---|---|
State | Accepted |
Commit | c68a1ae6ab760d797f4dde2c5c671e18d0e2adb4 |
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=m0UurE4O; 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 49KwXc5LLMz9sNH for <incoming@patchwork.ozlabs.org>; Mon, 11 May 2020 06:24:48 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id AD930819F3; Sun, 10 May 2020 22:18:36 +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="m0UurE4O"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 21A8280676; Sun, 10 May 2020 22:17:53 +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.0 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-il1-x141.google.com (mail-il1-x141.google.com [IPv6:2607:f8b0:4864:20::141]) (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 6F7038056E for <u-boot@lists.denx.de>; Sun, 10 May 2020 22:17:49 +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-x141.google.com with SMTP id q10so6503398ile.0 for <u-boot@lists.denx.de>; Sun, 10 May 2020 13:17:49 -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=RPb4gBbh2tdXhdo8VxC8AnrTLbOVimgDQv1blDrWZ9M=; b=m0UurE4O8kL074xkL4TbZCtlS+GlOXPlhG2E95FFuWd+ErEhGqWE9iYliZuG3+ytzR nczcqoxQ2DQtf8rJpO7pZji0Ueg8NdrhRzh28oHT6q91fq00RGhlwIBMp50crwFvbPyY PofGs86we9mHhJeDht7wxIMx3zKpd36RriQ1I= 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=RPb4gBbh2tdXhdo8VxC8AnrTLbOVimgDQv1blDrWZ9M=; b=tJJHZ0sJRt44RwldAwmX95YsRl60WTHhcDkIKgSX7yKlAqiT2SzQCd0kqwaDHr9yb8 mxEUzTmq5kiEnyPcyEQmxdkzXzCffXfZoTT15PA+OKBoALBPSnWUvsOFroaxdAQjgecC /G4eqF6WuKZHW0PdKHwzxTsNtr6JB7nCZp0dlZQSibSOfrG1vgK5MzT0JS8uJClT/UNB sbRLmfrRBmlkVAQzTyi+sAUJJ5uRcGZKmPT0CP7h6GmxtGKdRrjmg2O1VwERskVXJT1h 33CjIlzZflDOz5KDi5plU53OMsdJo8vrycMsReE97mhIjn3KCH0wbUL50ZCUhJK0AVV8 +MlQ== X-Gm-Message-State: AGi0PuYUToK7hV8I2bEFzdlkJdiVjTwQKNgcy0lWaRaTOX0+wIihb+dW I1zWVyItRobAm6YmKCB6kzuCF0UUFlY= X-Google-Smtp-Source: APiQypIq2WaucKA277wMTVrJJMRJXqfx/+mxIYigBib9GH2QasQS67YbdeqT/b59+Zm7OJcDlxkvdQ== X-Received: by 2002:a92:4b11:: with SMTP id m17mr13219957ilg.42.1589141868196; Sun, 10 May 2020 13:17:48 -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 s22sm3662176iow.40.2020.05.10.13.17.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 May 2020 13:17:47 -0700 (PDT) From: Simon Glass <sjg@chromium.org> To: U-Boot Mailing List <u-boot@lists.denx.de> Cc: Bin Meng <bmeng.cn@gmail.com>, Stefan Roese <sr@denx.de>, Tom Rini <trini@konsulko.com>, Daniel Schwierzeck <daniel.schwierzeck@gmail.com>, Simon Glass <sjg@chromium.org> Subject: [PATCH v2 39/39] bdinfo: x86: vesa: Update fb_base to the correct value Date: Sun, 10 May 2020 14:17:02 -0600 Message-Id: <20200510201702.196031-31-sjg@chromium.org> X-Mailer: git-send-email 2.26.2.645.ge9eca65c58-goog In-Reply-To: <20200510201702.196031-1-sjg@chromium.org> References: <20200510201702.196031-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.30rc1 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.2 at phobos.denx.de X-Virus-Status: Clean |
Series |
Tidy up the 'bd' command.
|
expand
|
diff --git a/arch/x86/lib/fsp/fsp_graphics.c b/arch/x86/lib/fsp/fsp_graphics.c index 98b762209f..46fb907dc3 100644 --- a/arch/x86/lib/fsp/fsp_graphics.c +++ b/arch/x86/lib/fsp/fsp_graphics.c @@ -96,6 +96,7 @@ static int fsp_video_probe(struct udevice *dev) * For IGD, it seems to be always on BAR2. */ vesa->phys_base_ptr = dm_pci_read_bar32(dev, 2); + gd->fb_base = vesa->phys_base_ptr; ret = vbe_setup_video_priv(vesa, uc_priv, plat); if (ret) @@ -104,8 +105,8 @@ static int fsp_video_probe(struct udevice *dev) mtrr_add_request(MTRR_TYPE_WRCOMB, vesa->phys_base_ptr, 256 << 20); mtrr_commit(true); - printf("%dx%dx%d\n", uc_priv->xsize, uc_priv->ysize, - vesa->bits_per_pixel); + printf("%dx%dx%d @ %x\n", uc_priv->xsize, uc_priv->ysize, + vesa->bits_per_pixel, vesa->phys_base_ptr); return 0;