]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
x86: Add support for passing tables into U-Boot
authorSimon Glass <sjg@chromium.org>
Tue, 4 Aug 2015 18:33:57 +0000 (12:33 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:00:56 +0000 (08:00 +0200)
commitbf4136945909e69f0b564a602bd56bb056095468
treeb7ffb8f98a0996eb23ad7f51289f88cad32afe23
parent7f993030556e35ea00c3be6c6dbb74b64e322534
x86: Add support for passing tables into U-Boot

The EFI stub provides information to U-Boot in a table. This includes the
memory map which is needed to decide where to relocate U-Boot. Collect this
information in the early init code and store it in global_data.

Fix up the BIST code at the same time since we don't have it when booting
from EFI and can assume it is 0.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/start.S
arch/x86/include/asm/global_data.h
arch/x86/lib/asm-offsets.c