]> git.sur5r.net Git - u-boot/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)
committerSimon Glass <sjg@chromium.org>
Wed, 5 Aug 2015 14:44:07 +0000 (08:44 -0600)
commit42fde30500eef6795129c3e4fda9951048c76617
tree007cebcf8d1ddc0c529e15cf3bd90e8d2f57ca9d
parent96a8d409a75af99ac7a9a9ba707d544f9cf44fc0
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