]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: Store the coreboot table address in global_data
authorSimon Glass <sjg@chromium.org>
Fri, 17 Jul 2020 03:22:34 +0000 (21:22 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 17 Jul 2020 06:32:24 +0000 (14:32 +0800)
commit9ef168676c2c75f499a8206ff3175a8b7ca95687
treeebd949cd0dc0a0065464b14abec22821e99e2891
parent487852b51b10ec53d42ec7e0585db9f357d1993d
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>
arch/x86/cpu/coreboot/tables.c
arch/x86/cpu/i386/cpu.c
arch/x86/include/asm/global_data.h