]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: Add a way to detect running from coreboot
authorSimon Glass <sjg@chromium.org>
Sun, 26 Apr 2020 15:12:59 +0000 (09:12 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Thu, 30 Apr 2020 09:48:16 +0000 (17:48 +0800)
commitcfe7a1068b4b84768dca82e81118d8bac9c4b8d5
tree6e174ec449923650ae7868bcb8a338d6f6a9d802
parent33139a0bc7645f73f6e7dd152336e1ee00c9d40e
x86: Add a way to detect running from coreboot

If U-Boot is running from coreboot we need to skip low-level init. Add
an way to detect this and to set the gd flag.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/i386/cpu.c