2009-08-12 17:00:51 +02:00
|
|
|
##
|
|
|
|
## This file is part of the coreboot repair project.
|
|
|
|
##
|
|
|
|
## Redistribution and use in source and binary forms, with or without
|
|
|
|
## modification, are permitted provided that the following conditions
|
|
|
|
## are met:
|
|
|
|
## 1. Redistributions of source code must retain the above copyright
|
|
|
|
## notice, this list of conditions and the following disclaimer.
|
|
|
|
## 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
## notice, this list of conditions and the following disclaimer in the
|
|
|
|
## documentation and/or other materials provided with the distribution.
|
|
|
|
## 3. The name of the author may not be used to endorse or promote products
|
|
|
|
## derived from this software without specific prior written permission.
|
|
|
|
##
|
|
|
|
## THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
|
|
|
## ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
## IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
|
|
## ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
|
|
|
## FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
|
|
## DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
|
|
## OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
|
|
## HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
|
|
## LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
|
|
## OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
|
|
## SUCH DAMAGE.
|
|
|
|
##
|
|
|
|
|
|
|
|
mainmenu "Coreboot Configuration"
|
|
|
|
|
2009-10-05 15:55:28 +02:00
|
|
|
menu "General setup"
|
|
|
|
|
|
|
|
config LOCALVERSION
|
2009-10-07 18:15:40 +02:00
|
|
|
string "Local version string"
|
2009-10-05 15:55:28 +02:00
|
|
|
help
|
|
|
|
Append an extra string to the end of the coreboot version.
|
|
|
|
|
2009-10-07 18:15:40 +02:00
|
|
|
This can be useful if, for instance, you want to append the
|
|
|
|
respective board's hostname or some other identifying string to
|
|
|
|
the coreboot version number, so that you can easily distinguish
|
|
|
|
boot logs of different boards from each other.
|
|
|
|
|
2009-10-05 15:55:28 +02:00
|
|
|
endmenu
|
|
|
|
|
2009-08-12 17:00:51 +02:00
|
|
|
source src/mainboard/Kconfig
|
|
|
|
source src/arch/i386/Kconfig
|
|
|
|
source src/arch/ppc/Kconfig
|
|
|
|
source src/northbridge/Kconfig
|
2009-09-24 17:09:11 +02:00
|
|
|
source src/devices/Kconfig
|
2009-08-12 17:00:51 +02:00
|
|
|
source src/southbridge/Kconfig
|
|
|
|
source src/superio/Kconfig
|
|
|
|
source src/cpu/Kconfig
|
|
|
|
|
|
|
|
config PCI_BUS_SEGN_BITS
|
2009-09-24 17:09:11 +02:00
|
|
|
int
|
|
|
|
default 0
|
2009-09-24 11:03:06 +02:00
|
|
|
|
2009-08-12 17:00:51 +02:00
|
|
|
config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
|
2009-08-25 02:53:22 +02:00
|
|
|
hex
|
2009-10-09 13:47:21 +02:00
|
|
|
default 0x0
|
2009-08-12 17:00:51 +02:00
|
|
|
|
|
|
|
config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
|
2009-08-25 02:53:22 +02:00
|
|
|
hex
|
2009-10-09 13:47:21 +02:00
|
|
|
default 0x0
|
2009-08-12 17:00:51 +02:00
|
|
|
|
|
|
|
config CPU_ADDR_BITS
|
|
|
|
int
|
|
|
|
default 36
|
|
|
|
|
2009-10-06 22:48:07 +02:00
|
|
|
config AGP_APERTURE_SIZE
|
|
|
|
hex
|
2009-10-09 13:47:21 +02:00
|
|
|
default 0x0
|
2009-10-06 22:48:07 +02:00
|
|
|
|
2009-08-12 17:00:51 +02:00
|
|
|
config XIP_ROM_BASE
|
|
|
|
hex
|
|
|
|
default 0xfffe0000
|
|
|
|
|
|
|
|
config XIP_ROM_SIZE
|
|
|
|
hex
|
|
|
|
default 0x20000
|
|
|
|
|
|
|
|
config LB_CKS_RANGE_START
|
|
|
|
int
|
|
|
|
default 49
|
|
|
|
|
|
|
|
config LB_CKS_RANGE_END
|
|
|
|
int
|
|
|
|
default 125
|
|
|
|
|
|
|
|
config LB_CKS_LOC
|
|
|
|
int
|
|
|
|
default 126
|
|
|
|
|
|
|
|
config LOGICAL_CPUS
|
2009-09-22 20:49:08 +02:00
|
|
|
bool
|
|
|
|
default y
|
2009-08-12 17:00:51 +02:00
|
|
|
|
|
|
|
config PCI_ROM_RUN
|
2009-08-25 19:38:24 +02:00
|
|
|
bool
|
|
|
|
default n
|
2009-08-12 17:00:51 +02:00
|
|
|
|
|
|
|
config HEAP_SIZE
|
|
|
|
hex
|
2009-10-16 21:12:49 +02:00
|
|
|
default 0x4000
|
2009-08-12 17:00:51 +02:00
|
|
|
|
|
|
|
config COREBOOT_V2
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
|
|
|
config COREBOOT_V4
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
|
|
|
config DEBUG
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
|
|
|
config USE_PRINTK_IN_CAR
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
|
|
|
config USE_OPTION_TABLE
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
|
|
|
config MAX_CPUS
|
|
|
|
int
|
|
|
|
default 1
|
|
|
|
|
|
|
|
config MMCONF_SUPPORT_DEFAULT
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
|
|
|
config MMCONF_SUPPORT
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2009-10-16 18:32:57 +02:00
|
|
|
config RAMTOP
|
2009-10-13 00:39:08 +02:00
|
|
|
hex
|
2009-10-16 18:32:57 +02:00
|
|
|
default 0x200000
|
2009-08-12 17:00:51 +02:00
|
|
|
|
2009-10-09 14:32:52 +02:00
|
|
|
config ATI_RAGE_XL
|
|
|
|
bool
|
|
|
|
|
2009-08-12 17:00:51 +02:00
|
|
|
source src/console/Kconfig
|
|
|
|
|
|
|
|
config HAVE_ACPI_RESUME
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
|
|
|
config ACPI_SSDTX_NUM
|
|
|
|
int
|
|
|
|
default 0
|
|
|
|
|
|
|
|
config HAVE_FALLBACK_BOOT
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
|
|
|
config USE_FALLBACK_IMAGE
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
2009-10-03 23:04:13 +02:00
|
|
|
config HAVE_FAILOVER_BOOT
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
|
|
|
config USE_FAILOVER_IMAGE
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2009-08-12 17:00:51 +02:00
|
|
|
config HAVE_HARD_RESET
|
|
|
|
bool
|
2009-10-09 13:47:21 +02:00
|
|
|
default n
|
2009-08-12 17:00:51 +02:00
|
|
|
|
|
|
|
config HAVE_INIT_TIMER
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
|
|
|
config HAVE_MAINBOARD_RESOURCES
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
|
|
|
config HAVE_MOVNTI
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
|
|
|
config HAVE_OPTION_TABLE
|
|
|
|
bool
|
|
|
|
default y
|
2009-10-15 19:49:07 +02:00
|
|
|
help
|
|
|
|
This variable specifies whether a given board has a cmos.layout
|
|
|
|
file containing NVRAM/CMOS bit definitions.
|
|
|
|
It defaults to 'y' but can be changed to 'n' in mainboard/*/Kconfig.
|
2009-08-12 17:00:51 +02:00
|
|
|
|
|
|
|
config PIRQ_ROUTE
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
|
|
|
config HAVE_SMI_HANDLER
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
|
|
|
config PCI_IO_CFG_EXT
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
|
|
|
config IOAPIC
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2009-10-04 19:15:39 +02:00
|
|
|
config VIDEO_MB
|
|
|
|
int
|
|
|
|
|
2009-09-22 20:49:08 +02:00
|
|
|
config USE_WATCHDOG_ON_BOOT
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
|
|
|
config VGA
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Build board-specific VGA code.
|
|
|
|
|
|
|
|
config GFXUMA
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Enable Unified Memory Architecture for graphics.
|
|
|
|
|
2009-08-25 02:53:22 +02:00
|
|
|
# TODO
|
|
|
|
# menu "Drivers"
|
2009-10-07 18:15:40 +02:00
|
|
|
#
|
2009-08-25 02:53:22 +02:00
|
|
|
# endmenu
|
2009-08-12 17:00:51 +02:00
|
|
|
|
2009-10-15 15:35:47 +02:00
|
|
|
config HAVE_ACPI_TABLES
|
|
|
|
bool
|
2009-10-15 19:49:07 +02:00
|
|
|
help
|
|
|
|
This variable specifies whether a given board has ACPI table support.
|
|
|
|
It is usually set in mainboard/*/Kconfig.
|
|
|
|
Whether or not the ACPI tables are actually generated by coreboot
|
|
|
|
is configurable by the user via GENERATE_ACPI_TABLES.
|
2009-10-15 15:35:47 +02:00
|
|
|
|
|
|
|
config HAVE_MP_TABLE
|
|
|
|
bool
|
2009-10-15 19:49:07 +02:00
|
|
|
help
|
|
|
|
This variable specifies whether a given board has MP table support.
|
|
|
|
It is usually set in mainboard/*/Kconfig.
|
|
|
|
Whether or not the MP table is actually generated by coreboot
|
|
|
|
is configurable by the user via GENERATE_MP_TABLE.
|
2009-10-15 15:35:47 +02:00
|
|
|
|
|
|
|
config HAVE_PIRQ_TABLE
|
|
|
|
bool
|
2009-10-15 19:49:07 +02:00
|
|
|
help
|
|
|
|
This variable specifies whether a given board has PIRQ table support.
|
|
|
|
It is usually set in mainboard/*/Kconfig.
|
|
|
|
Whether or not the PIRQ table is actually generated by coreboot
|
|
|
|
is configurable by the user via GENERATE_PIRQ_TABLE.
|
2009-10-15 15:35:47 +02:00
|
|
|
|
|
|
|
config HAVE_HIGH_TABLES
|
|
|
|
bool
|
|
|
|
|
2009-10-07 18:15:40 +02:00
|
|
|
menu "System tables"
|
2009-09-22 20:49:08 +02:00
|
|
|
|
|
|
|
config HAVE_LOW_TABLES
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
2009-10-15 15:35:47 +02:00
|
|
|
config WRITE_HIGH_TABLES
|
2009-09-22 20:49:08 +02:00
|
|
|
bool "Write 'high' tables to avoid being overwritten in F segment"
|
2009-10-15 15:35:47 +02:00
|
|
|
depends on HAVE_HIGH_TABLES
|
2009-09-22 20:49:08 +02:00
|
|
|
default y
|
|
|
|
|
|
|
|
config MULTIBOOT
|
2009-10-07 18:15:40 +02:00
|
|
|
bool "Generate Multiboot tables (for GRUB2)"
|
2009-09-22 20:49:08 +02:00
|
|
|
default n
|
|
|
|
|
2009-10-15 15:35:47 +02:00
|
|
|
config GENERATE_ACPI_TABLES
|
|
|
|
depends on HAVE_ACPI_TABLES
|
2009-09-22 20:49:08 +02:00
|
|
|
bool "Generate ACPI tables"
|
2009-10-15 15:35:47 +02:00
|
|
|
default y
|
2009-10-15 19:49:07 +02:00
|
|
|
help
|
|
|
|
Generate ACPI tables for this board.
|
|
|
|
|
|
|
|
If unsure, say Y.
|
2009-09-22 20:49:08 +02:00
|
|
|
|
2009-10-15 15:35:47 +02:00
|
|
|
config GENERATE_MP_TABLE
|
|
|
|
depends on HAVE_MP_TABLE
|
2009-09-22 20:49:08 +02:00
|
|
|
bool "Generate an MP table"
|
2009-10-15 15:35:47 +02:00
|
|
|
default y
|
2009-10-15 19:49:07 +02:00
|
|
|
help
|
|
|
|
Generate an MP table (conforming to the Intel MultiProcessor
|
|
|
|
specification 1.4) for this board.
|
|
|
|
|
|
|
|
If unsure, say Y.
|
2009-09-22 20:49:08 +02:00
|
|
|
|
2009-10-15 15:35:47 +02:00
|
|
|
config GENERATE_PIRQ_TABLE
|
|
|
|
depends on HAVE_PIRQ_TABLE
|
2009-09-22 20:49:08 +02:00
|
|
|
bool "Generate a PIRQ table"
|
2009-10-15 15:35:47 +02:00
|
|
|
default y
|
2009-10-15 19:49:07 +02:00
|
|
|
help
|
|
|
|
Generate a PIRQ table for this board.
|
|
|
|
|
|
|
|
If unsure, say Y.
|
2009-09-22 20:49:08 +02:00
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
2009-08-12 17:00:51 +02:00
|
|
|
menu "Payload"
|
|
|
|
|
|
|
|
choice
|
2009-10-07 18:15:40 +02:00
|
|
|
prompt "Add a payload"
|
2009-08-12 17:00:51 +02:00
|
|
|
default PAYLOAD_NONE
|
|
|
|
|
2009-10-07 18:15:40 +02:00
|
|
|
config PAYLOAD_NONE
|
|
|
|
bool "None"
|
|
|
|
help
|
|
|
|
Select this option if you want to create an "empty" coreboot
|
|
|
|
ROM image for a certain mainboard, i.e. a coreboot ROM image
|
|
|
|
which does not yet contain a payload.
|
|
|
|
|
|
|
|
For such an image to be useful, you have to use 'cbfstool'
|
|
|
|
to add a payload to the ROM image later.
|
|
|
|
|
2009-08-12 17:00:51 +02:00
|
|
|
config PAYLOAD_ELF
|
2009-10-07 18:15:40 +02:00
|
|
|
bool "An ELF executable payload"
|
2009-08-12 17:00:51 +02:00
|
|
|
help
|
|
|
|
Select this option if you have a payload image (an ELF file)
|
|
|
|
which coreboot should run as soon as the basic hardware
|
|
|
|
initialization is completed.
|
|
|
|
|
|
|
|
You will be able to specify the location and file name of the
|
|
|
|
payload image later.
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config FALLBACK_PAYLOAD_FILE
|
2009-08-17 16:47:32 +02:00
|
|
|
string "Payload path and filename"
|
2009-08-12 17:00:51 +02:00
|
|
|
depends on PAYLOAD_ELF
|
|
|
|
default "payload.elf"
|
|
|
|
help
|
2009-08-25 02:53:22 +02:00
|
|
|
The path and filename of the ELF executable file to use as payload.
|
2009-08-12 17:00:51 +02:00
|
|
|
|
2009-10-07 18:15:40 +02:00
|
|
|
# TODO: Defined if no payload? Breaks build?
|
|
|
|
config COMPRESSED_PAYLOAD_LZMA
|
|
|
|
bool "Use LZMA compression for payloads"
|
|
|
|
default y
|
|
|
|
depends on PAYLOAD_ELF
|
|
|
|
help
|
|
|
|
In order to reduce the size payloads take up in the ROM chip
|
|
|
|
coreboot can compress them using the LZMA algorithm.
|
|
|
|
|
2009-10-16 21:12:49 +02:00
|
|
|
config COMPRESSED_PAYLOAD_NRV2B
|
|
|
|
default n
|
|
|
|
|
2009-09-17 18:21:31 +02:00
|
|
|
endmenu
|
|
|
|
|
|
|
|
menu "VGA BIOS"
|
|
|
|
|
|
|
|
config VGA_BIOS
|
|
|
|
bool "Add a VGA BIOS image"
|
|
|
|
help
|
|
|
|
Select this option if you have a VGA BIOS image that you would
|
|
|
|
like to add to your ROM.
|
|
|
|
|
|
|
|
You will be able to specify the location and file name of the
|
|
|
|
image later.
|
|
|
|
|
2009-08-17 16:46:13 +02:00
|
|
|
config FALLBACK_VGA_BIOS_FILE
|
|
|
|
string "VGA BIOS path and filename"
|
|
|
|
depends on VGA_BIOS
|
|
|
|
default "vgabios.bin"
|
|
|
|
help
|
|
|
|
The path and filename of the file to use as VGA BIOS.
|
|
|
|
|
|
|
|
config FALLBACK_VGA_BIOS_ID
|
|
|
|
string "VGA BIOS ID"
|
|
|
|
depends on VGA_BIOS
|
|
|
|
default "1106,3230"
|
|
|
|
help
|
2009-10-07 18:15:40 +02:00
|
|
|
The comma-separated PCI vendor and device ID that would associate
|
|
|
|
your VGA BIOS to your video card.
|
|
|
|
|
|
|
|
Example: 1106,3230
|
|
|
|
|
|
|
|
In the above example 1106 is the PCI vendor ID (in hex, but without
|
|
|
|
the "0x" prefix) and 3230 specifies the PCI device ID of the
|
|
|
|
video card (also in hex, without "0x" prefix).
|
2009-08-17 16:46:13 +02:00
|
|
|
|
2009-08-12 17:00:51 +02:00
|
|
|
endmenu
|
|
|
|
|
2009-10-07 18:15:40 +02:00
|
|
|
menu "Debugging"
|
|
|
|
|
|
|
|
# TODO: Better help text and detailed instructions.
|
2009-08-12 17:00:51 +02:00
|
|
|
config GDB_STUB
|
2009-08-25 02:53:22 +02:00
|
|
|
bool "GDB debugging support"
|
2009-08-12 17:00:51 +02:00
|
|
|
default y
|
|
|
|
help
|
2009-08-25 02:53:22 +02:00
|
|
|
If enabled, you will be able to set breakpoints for gdb debugging.
|
|
|
|
See src/arch/i386/lib/c_start.S for details.
|
2009-08-12 17:00:51 +02:00
|
|
|
|
2009-10-07 18:15:40 +02:00
|
|
|
endmenu
|
|
|
|
|