tables.diff: Add Kconfig dialogues for ACPI, MP_TABLE, ...

Kconfig_bools.diff: Change some more ints to bools, change some default values.
xip_size.diff: Make XIP_SIZE + XIP_BASE add up to 4GB.
smp.diff: set CONFIG_SMP based on MAX_CPUS.


Signed-off-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4655 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Myles Watson 2009-09-22 18:49:08 +00:00
parent 3fec29cc96
commit 45bb25f36f
8 changed files with 85 additions and 61 deletions

View File

@ -40,13 +40,9 @@ config CBFS
bool bool
default y default y
config HAVE_HIGH_TABLES
bool
default y
config PCI_BUS_SEGN_BITS config PCI_BUS_SEGN_BITS
int bool
default 0 default n
config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
hex hex
@ -81,20 +77,20 @@ config LB_CKS_LOC
default 126 default 126
config LOGICAL_CPUS config LOGICAL_CPUS
int bool
default 1 default y
config PCI_ROM_RUN config PCI_ROM_RUN
bool bool
default n default n
config HT_CHAIN_UNITID_BASE config HT_CHAIN_UNITID_BASE
int hex
default 1 default 1
config HT_CHAIN_END_UNITID_BASE config HT_CHAIN_END_UNITID_BASE
int hex
default 32 default 0x20
config HEAP_SIZE config HEAP_SIZE
hex hex
@ -136,10 +132,6 @@ config LB_MEM_TOPK
int int
default 2048 default 2048
config MULTIBOOT
bool
default n
config COMPRESSED_PAYLOAD_LZMA config COMPRESSED_PAYLOAD_LZMA
bool bool
default y default y
@ -158,10 +150,6 @@ config ACPI_SSDTX_NUM
int int
default 0 default 0
config HAVE_ACPI_TABLES
bool
default n
config HAVE_FALLBACK_BOOT config HAVE_FALLBACK_BOOT
bool bool
default y default y
@ -186,18 +174,10 @@ config HAVE_MOVNTI
bool bool
default y default y
config HAVE_MP_TABLE
bool
default n
config HAVE_OPTION_TABLE config HAVE_OPTION_TABLE
bool bool
default y default y
config HAVE_PIRQ_TABLE
bool
default n
config PIRQ_ROUTE config PIRQ_ROUTE
bool bool
default n default n
@ -214,11 +194,55 @@ config IOAPIC
bool bool
default n default n
config USE_WATCHDOG_ON_BOOT
bool
default n
config VGA
bool
default n
help
Build board-specific VGA code.
config GFXUMA
bool
default n
help
Enable Unified Memory Architecture for graphics.
# TODO # TODO
# menu "Drivers" # menu "Drivers"
# #
# endmenu # endmenu
menu "Generated System Tables"
config HAVE_LOW_TABLES
bool
default y
config HAVE_HIGH_TABLES
bool "Write 'high' tables to avoid being overwritten in F segment"
default y
config MULTIBOOT
bool "Add Multiboot tables (for grub2)"
default n
config HAVE_ACPI_TABLES
bool "Generate ACPI tables"
default n
config HAVE_MP_TABLE
bool "Generate an MP table"
default n
config HAVE_PIRQ_TABLE
bool "Generate a PIRQ table"
default n
endmenu
menu "Payload" menu "Payload"
config COMPRESSED_PAYLOAD_LZMA config COMPRESSED_PAYLOAD_LZMA

View File

@ -32,6 +32,12 @@ config CONSOLE_VGA
bool "Use VGA console, once initialized." bool "Use VGA console, once initialized."
default n default n
config CONSOLE_VGA_ONBOARD_AT_FIRST
bool "Use onboard VGA as primary"
default n
help
If not selected, the last adapter found will be used.
config MAXIMUM_CONSOLE_LOGLEVEL config MAXIMUM_CONSOLE_LOGLEVEL
int "Maximum console loglevel" int "Maximum console loglevel"
default 9 default 9

View File

@ -19,7 +19,7 @@ config DCACHE_RAM_SIZE
config SMP config SMP
bool bool
default n default y if MAX_CPUS != 1
config CPU_SOCKET_TYPE config CPU_SOCKET_TYPE
hex hex

View File

@ -16,4 +16,4 @@ config XIP_ROM_BASE
config XIP_ROM_SIZE config XIP_ROM_SIZE
hex hex
default 0x2000 default 0x20000

View File

@ -331,6 +331,11 @@ config MAINBOARD_VENDOR
default "Tyan" default "Tyan"
depends on VENDOR_TYAN depends on VENDOR_TYAN
config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
hex
default 0x10f1
depends on VENDOR_TYAN
config MAINBOARD_VENDOR config MAINBOARD_VENDOR
string string
default "VIA" default "VIA"

View File

@ -52,6 +52,6 @@ config IRQ_SLOT_COUNT
depends on BOARD_AMD_RUMBA depends on BOARD_AMD_RUMBA
config USE_INIT config USE_INIT
int bool
default 0 default n
depends on BOARD_AMD_RUMBA depends on BOARD_AMD_RUMBA

View File

@ -69,30 +69,24 @@ config MAINBOARD_PART_NUMBER
default "Serengeti-Cheetah" default "Serengeti-Cheetah"
depends on BOARD_AMD_SERENGETI_CHEETAH depends on BOARD_AMD_SERENGETI_CHEETAH
config USE_FAILOVER_IMAGE
int
default 0
depends on BOARD_AMD_SERENGETI_CHEETAH
config HW_MEM_HOLE_SIZEK config HW_MEM_HOLE_SIZEK
hex hex
default 0x100000 default 0x100000
depends on BOARD_AMD_SERENGETI_CHEETAH depends on BOARD_AMD_SERENGETI_CHEETAH
config MEM_TRAIN_SEQ config MEM_TRAIN_SEQ
int bool
default 1 default y
depends on BOARD_AMD_SERENGETI_CHEETAH depends on BOARD_AMD_SERENGETI_CHEETAH
config HAVE_FAILOVER_BOOT config HAVE_FAILOVER_BOOT
int bool
default 0 default n
depends on BOARD_AMD_SERENGETI_CHEETAH depends on BOARD_AMD_SERENGETI_CHEETAH
config USE_FAILOVER_IMAGE config USE_FAILOVER_IMAGE
int bool
default 0 default n
depends on BOARD_AMD_SERENGETI_CHEETAH depends on BOARD_AMD_SERENGETI_CHEETAH
config MAX_CPUS config MAX_CPUS
@ -106,28 +100,28 @@ config MAX_PHYSICAL_CPUS
depends on BOARD_AMD_SERENGETI_CHEETAH depends on BOARD_AMD_SERENGETI_CHEETAH
config MEM_TRAIN_SEQ config MEM_TRAIN_SEQ
int bool
default 1 default y
depends on BOARD_AMD_SERENGETI_CHEETAH depends on BOARD_AMD_SERENGETI_CHEETAH
config AP_CODE_IN_CAR config AP_CODE_IN_CAR
int bool
default 1 default y
depends on BOARD_AMD_SERENGETI_CHEETAH depends on BOARD_AMD_SERENGETI_CHEETAH
config HW_MEM_HOLE_SIZE_AUTO_INC config HW_MEM_HOLE_SIZE_AUTO_INC
int bool
default 0 default n
depends on BOARD_AMD_SERENGETI_CHEETAH depends on BOARD_AMD_SERENGETI_CHEETAH
config HT_CHAIN_END_UNITID_BASE config HT_CHAIN_END_UNITID_BASE
int hex
default 0x6 default 0x6
depends on BOARD_AMD_SERENGETI_CHEETAH depends on BOARD_AMD_SERENGETI_CHEETAH
config USE_INIT config USE_INIT
int bool
default 0 default n
depends on BOARD_AMD_SERENGETI_CHEETAH depends on BOARD_AMD_SERENGETI_CHEETAH
config SERIAL_CPU_INIT config SERIAL_CPU_INIT
@ -136,13 +130,13 @@ config SERIAL_CPU_INIT
depends on BOARD_AMD_SERENGETI_CHEETAH depends on BOARD_AMD_SERENGETI_CHEETAH
config AP_CODE_IN_CAR config AP_CODE_IN_CAR
int bool
default 1 default y
depends on BOARD_AMD_SERENGETI_CHEETAH depends on BOARD_AMD_SERENGETI_CHEETAH
config WAIT_BEFORE_CPUS_INIT config WAIT_BEFORE_CPUS_INIT
int bool
default 1 default y
depends on BOARD_AMD_SERENGETI_CHEETAH depends on BOARD_AMD_SERENGETI_CHEETAH
config SB_HT_CHAIN_ON_BUS0 config SB_HT_CHAIN_ON_BUS0

View File

@ -18,11 +18,6 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
## ##
config HAVE_HIGH_TABLES
bool "Do we have high tables"
default y
config NORTHBRIDGE_INTEL_I82810 config NORTHBRIDGE_INTEL_I82810
bool bool
default n default n