blob: 0cb79b01bd3567237f450c754e5e5402f3b5ed8a [file] [log] [blame]
Simon Glass912e06f2021-09-24 18:30:21 -06001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * x86-specific information for the 'bd' command
4 *
5 * Copyright 2021 Google LLC
6 */
7
8#include <common.h>
9#include <efi.h>
10#include <init.h>
11#include <asm/efi.h>
12#include <asm/global_data.h>
13
14DECLARE_GLOBAL_DATA_PTR;
15
16void arch_print_bdinfo(void)
17{
18 bdinfo_print_num_l("prev table", gd->arch.table);
19
20 if (IS_ENABLED(CONFIG_EFI_STUB))
21 efi_show_bdinfo();
22}