Simon Glass | 567dfef | 2021-09-24 18:30:21 -0600 | [diff] [blame] | 1 | // 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 | |||||
14 | DECLARE_GLOBAL_DATA_PTR; | ||||
15 | |||||
16 | void 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 | } |