mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-27 04:47:20 +00:00
x86: Make table address selectable
Some firmwares might have another window for generated tables. So, introduce two configuration options to select start address and maximum length for the generated tables. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
parent
167a40166b
commit
c3df28f6e2
2 changed files with 15 additions and 7 deletions
|
@ -542,6 +542,19 @@ config VGA_BIOS_ADDR
|
||||||
address of 0xfff90000 indicates that the image will be put at offset
|
address of 0xfff90000 indicates that the image will be put at offset
|
||||||
0x90000 from the beginning of a 1MB flash device.
|
0x90000 from the beginning of a 1MB flash device.
|
||||||
|
|
||||||
|
config ROM_TABLE_ADDR
|
||||||
|
hex
|
||||||
|
default 0xf0000
|
||||||
|
help
|
||||||
|
All x86 tables happen to like the address range from 0x0f0000
|
||||||
|
to 0x100000. We use 0xf0000 as the starting address to store
|
||||||
|
those tables, including PIRQ routing table, Multi-Processor
|
||||||
|
table and ACPI table.
|
||||||
|
|
||||||
|
config ROM_TABLE_SIZE
|
||||||
|
hex
|
||||||
|
default 0x10000
|
||||||
|
|
||||||
menu "System tables"
|
menu "System tables"
|
||||||
depends on !EFI && !SYS_COREBOOT
|
depends on !EFI && !SYS_COREBOOT
|
||||||
|
|
||||||
|
|
|
@ -9,13 +9,8 @@
|
||||||
|
|
||||||
#include <tables_csum.h>
|
#include <tables_csum.h>
|
||||||
|
|
||||||
/*
|
#define ROM_TABLE_ADDR CONFIG_ROM_TABLE_ADDR
|
||||||
* All x86 tables happen to like the address range from 0xf0000 to 0x100000.
|
#define ROM_TABLE_END (CONFIG_ROM_TABLE_ADDR + CONFIG_ROM_TABLE_SIZE - 1)
|
||||||
* We use 0xf0000 as the starting address to store those tables, including
|
|
||||||
* PIRQ routing table, Multi-Processor table and ACPI table.
|
|
||||||
*/
|
|
||||||
#define ROM_TABLE_ADDR 0xf0000
|
|
||||||
#define ROM_TABLE_END 0xfffff
|
|
||||||
|
|
||||||
#define ROM_TABLE_ALIGN 1024
|
#define ROM_TABLE_ALIGN 1024
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue