Some changes required to get yabel working on v2 (and they generally make
sense, too). Have one u64 instead of three. In order to use the old bios emulator, you have to do nothing. (Default, if CONFIG_PCI_ROM_RUN is enabled) In order to use yabel in your target, you need to add the following lines to your config: uses CONFIG_PCI_OPTION_ROM_RUN_YABEL default CONFIG_PCI_OPTION_ROM_RUN_YABEL=1 In order to use vm86 in your target, you need to add the following lines to your config: uses CONFIG_PCI_OPTION_ROM_RUN_VM86 default CONFIG_PCI_OPTION_ROM_RUN_VM86=1 Note: vm86 only works on platforms with _RAMBASE in the lower megabyte. Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Joseph Smith <joe@settoplinux.org> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3965 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
committed by
Stefan Reinauer
parent
2b34db8d1d
commit
36c83404a3
@@ -168,6 +168,12 @@ define CONFIG_USE_INIT
|
||||
comment "Use stage 1 initialization code"
|
||||
end
|
||||
|
||||
define COREBOOT_V2
|
||||
default 1
|
||||
export always
|
||||
comment "This is used by code to determine v2 vs v3"
|
||||
end
|
||||
|
||||
###############################################
|
||||
# ROM image options
|
||||
###############################################
|
||||
@@ -1068,6 +1074,18 @@ define CONFIG_PCI_ROM_RUN
|
||||
comment "Init x86 ROMs on all PCI devices"
|
||||
end
|
||||
|
||||
define CONFIG_PCI_OPTION_ROM_RUN_YABEL
|
||||
default 0
|
||||
export used
|
||||
comment "Use Yabel instead of old bios emulator"
|
||||
end
|
||||
|
||||
define CONFIG_PCI_OPTION_ROM_RUN_VM86
|
||||
default 0
|
||||
export used
|
||||
comment "Use Yabel instead of old bios emulator"
|
||||
end
|
||||
|
||||
define CONFIG_PCI_64BIT_PREF_MEM
|
||||
default 0
|
||||
export always
|
||||
|
Reference in New Issue
Block a user