]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: Move coreboot-table detection to common 32/64-bit code
authorSimon Glass <sjg@chromium.org>
Fri, 1 May 2020 03:21:39 +0000 (21:21 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 4 May 2020 07:28:28 +0000 (15:28 +0800)
commit7ec0e7b6356b12f495b780ecdb25b14204b62a9f
tree97a1b4bba2042d437938cf1ffbe7607fac3e4f7b
parentc693f212c5b0433b3a49a89d87cbff28bf78eb87
x86: Move coreboot-table detection to common 32/64-bit code

At present this function is only available in 32-bit code. Move it to the
common cpu file so it can be used by 64-bit U-Boot too.

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