From: Simon Glass Date: Thu, 24 Sep 2020 19:44:39 -0600 Subject: [PATCH 1/2] x86: Fix-up patch for showing video information Message-ID: <20200925014440.47300-1-sjg@chromium.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de This should be merged into the following patch: 09bd6339966 ("x86: video: Show information about each video device") Signed-off-by: Simon Glass --- cmd/bdinfo.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c index 39a606ba348..8d8daa6336a 100644 --- a/cmd/bdinfo.c +++ b/cmd/bdinfo.c @@ -36,6 +36,12 @@ static void print_eth(int idx) printf("%-12s= %s\n", name, val); } +static void print_phys_addr(const char *name, phys_addr_t value) +{ + printf("%-12s= 0x%.*llx\n", name, 2 * (int)sizeof(ulong), + (unsigned long long)value); +} + void bdinfo_print_mhz(const char *name, unsigned long hz) { char buf[32]; -- 2.28.0.681.g6f77f65b4e-goog