aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/global_data.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-07-16 21:22:34 -0600
committerBin Meng <bmeng.cn@gmail.com>2020-07-17 14:32:24 +0800
commit9ef168676c2c75f499a8206ff3175a8b7ca95687 (patch)
treeebd949cd0dc0a0065464b14abec22821e99e2891 /arch/x86/include/asm/global_data.h
parent487852b51b10ec53d42ec7e0585db9f357d1993d (diff)
downloadu-boot-9ef168676c2c75f499a8206ff3175a8b7ca95687.zip
u-boot-9ef168676c2c75f499a8206ff3175a8b7ca95687.tar.gz
u-boot-9ef168676c2c75f499a8206ff3175a8b7ca95687.tar.bz2
x86: Store the coreboot table address in global_data
At present this information is used to locate and parse the tables but is not stored. Store it so that we can display it to the user, e.g. with the 'bdinfo' command. Note that now the GD_FLG_SKIP_LL_INIT flag is set in get_coreboot_info(), so it is always set when booting from coreboot. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
Diffstat (limited to 'arch/x86/include/asm/global_data.h')
-rw-r--r--arch/x86/include/asm/global_data.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/global_data.h b/arch/x86/include/asm/global_data.h
index 5bc251c..3e40445 100644
--- a/arch/x86/include/asm/global_data.h
+++ b/arch/x86/include/asm/global_data.h
@@ -123,6 +123,7 @@ struct arch_global_data {
#endif
void *itss_priv; /* Private ITSS data pointer */
ulong acpi_start; /* Start address of ACPI tables */
+ ulong coreboot_table; /* Address of coreboot table */
};
#endif