diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2016-02-28 23:54:50 -0800 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2016-03-17 10:27:22 +0800 |
commit | 3cf23719b1dc97d17ed649493b0b61641a79ab1f (patch) | |
tree | 4fee8e75ea2705b701c58b224ef0fe320aa36023 /arch/x86/include | |
parent | 26f9a9b73aeb59150281a10e76567967cfe0611b (diff) | |
download | u-boot-imx-3cf23719b1dc97d17ed649493b0b61641a79ab1f.zip u-boot-imx-3cf23719b1dc97d17ed649493b0b61641a79ab1f.tar.gz u-boot-imx-3cf23719b1dc97d17ed649493b0b61641a79ab1f.tar.bz2 |
x86: Support booting SeaBIOS
SeaBIOS is an open source implementation of a 16-bit x86 BIOS.
It can run in an emulator or natively on x86 hardware with the
use of coreboot. With SeaBIOS's help, we can boot some OSes
that require 16-bit BIOS services like Windows/DOS.
As U-Boot, we have to manually create a table where SeaBIOS gets
system information (eg: E820) from. The table unfortunately has
to follow the coreboot table format as SeaBIOS currently supports
booting as a coreboot payload.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/include')
-rw-r--r-- | arch/x86/include/asm/tables.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/include/asm/tables.h b/arch/x86/include/asm/tables.h index 9e6754f..ae9f0d0 100644 --- a/arch/x86/include/asm/tables.h +++ b/arch/x86/include/asm/tables.h @@ -16,6 +16,9 @@ #define ROM_TABLE_ALIGN 1024 +/* SeaBIOS expects coreboot tables at address range 0x0000-0x1000 */ +#define CB_TABLE_ADDR 0x800 + /** * table_compute_checksum() - Compute a table checksum * |