efi: arm: x86: Allow use of the EFI table in the app
It isn't worth the hassle of omitting this field for the app, since code is shared between the payload and the app. Adjust the condition to avoid a build error in the 'efi' command with the app on 64-bit ARM. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -108,8 +108,8 @@ struct arch_global_data {
|
||||
#ifdef CONFIG_SMBIOS
|
||||
ulong smbios_start; /* Start address of SMBIOS table */
|
||||
#endif
|
||||
#ifdef CONFIG_EFI_STUB
|
||||
ulong table;
|
||||
#ifdef CONFIG_EFI
|
||||
ulong table; /* holds the table address from previous EFI firmware */
|
||||
#endif
|
||||
};
|
||||
|
||||
|
||||
@@ -110,7 +110,7 @@ struct arch_global_data {
|
||||
int has_mtrr;
|
||||
/* MRC training data */
|
||||
struct mrc_output mrc[MRC_TYPE_COUNT];
|
||||
ulong table; /* Table pointer from previous loader */
|
||||
ulong table; /* coreboot/EFI table address from previous loader */
|
||||
int turbo_state; /* Current turbo state */
|
||||
struct irq_routing_table *pirq_routing_table;
|
||||
int dw_i2c_num_cards; /* Used by designware i2c driver */
|
||||
|
||||
Reference in New Issue
Block a user