[PATCH 1/2] x86: Fix-up patch for showing video information
Bin Meng
bmeng.cn at gmail.com
Fri Sep 25 03:56:15 CEST 2020
On Fri, Sep 25, 2020 at 9:44 AM Simon Glass <sjg at chromium.org> wrote:
>
> This should be merged into the following patch:
>
> 09bd6339966 ("x86: video: Show information about each video device")
Squashed this patch to 09bd6339966 to u-boot-x86/next, thanks!
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> 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
>
More information about the U-Boot
mailing list