v2/src romfs->cbfs rename
[coreboot.git] / src / config / Options.lb
index 6da8006040dd0747b2c1a3c4c2ee70d818cc5523..7bcba27e04b1dfdf583c9adc027c3144a615fb0d 100644 (file)
@@ -146,7 +146,7 @@ define COREBOOT_COMPILER
        comment "Build compiler"
 end
 define COREBOOT_LINKER
-       default "$(shell  $(CC) -Wl,--version 2>&1 | grep version | tail -n 1)"
+       default "$(shell  $(CC) -Wl,--version 2>&1 | grep \" ld\")"
        export always
        format "\"%s\""
        comment "Build linker"
@@ -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
 ###############################################
@@ -408,9 +414,9 @@ end
 ###############################################
 
 define DEBUG
-       default 1
+       default 0
        export always
-       comment "Enable debugging code"
+       comment "Enable x86emu debugging code"
 end
 define CONFIG_CONSOLE_VGA
        default 0
@@ -501,8 +507,12 @@ define CONFIG_USE_PRINTK_IN_CAR
        export always
        comment "use printk instead of print in CAR stage code"
 end
+define ASSEMBLER_DEBUG
+       default 0
+       export always
+       comment "Create disassembly files for debugging"
+end
 
-       
 ###############################################
 # Mainboard options
 ###############################################
@@ -574,6 +584,11 @@ define CONFIG_LOGICAL_CPUS
        export always
        comment "Should multiple cpus per die be enabled?"
 end
+define CONFIG_AP_IN_SIPI_WAIT
+       default 0
+       export always
+       comment "Should application processors go to SIPI wait state after initialization? (Required for Intel Core Duo)"
+end
 define HAVE_MP_TABLE
        default none
        export used
@@ -603,6 +618,11 @@ end
 # Boot options
 ###############################################
 
+define CONFIG_MULTIBOOT
+       default 1
+       export always
+       comment "Use Multiboot (rather than ELF boot notes) to boot the payload"
+end
 define CONFIG_IDE_PAYLOAD
        default 0
        export always
@@ -659,6 +679,11 @@ define CONFIG_FS_FAT
        export always
        comment "Enable FAT filesystem support"
 end
+define CONFIG_CBFS
+       default 0
+       export always
+       comment "The new CBFS file system"
+end
 define AUTOBOOT_DELAY
        default 2
        export always
@@ -718,7 +743,7 @@ define HAVE_PIRQ_TABLE
 end
 define PIRQ_ROUTE
        default 0
-       export used
+       export always
        comment "Define if we have a PIRQ table and want routing IRQs"
 end
 define IRQ_SLOT_COUNT
@@ -829,12 +854,6 @@ end
 # Misc options
 ###############################################
 
-define CONFIG_CHIP_NAME
-       default 0
-       export always
-       comment "Compile in the chip name"
-end
-
 define CONFIG_GDB_STUB
        default 0
        export used
@@ -851,6 +870,11 @@ define HAVE_HARD_RESET
        export used
        comment "Have hard reset"
 end
+define HAVE_SMI_HANDLER
+       default 0
+       export always
+       comment "Set, if the board needs an SMI handler"
+end
 define MEMORY_HOLE
        default none
        export used
@@ -903,6 +927,12 @@ define HAVE_ACPI_TABLES
        comment "Define to build ACPI tables"
 end
 
+define HAVE_ACPI_RESUME
+       default 0
+       export always
+       comment "Define to build ACPI with resume support"
+end
+
 define ACPI_SSDTX_NUM
        default 0
        export always
@@ -958,6 +988,13 @@ define MMCONF_SUPPORT_DEFAULT
        comment "enable mmconfig for pci conf"
 end
 
+define MMCONF_BASE_ADDRESS
+       default none
+       format "0x%x"
+       export used
+       comment "enable mmconfig base address"
+end
+
 define HW_MEM_HOLE_SIZEK
         default 0
         export always
@@ -1049,6 +1086,31 @@ 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_YABEL_DEBUG_FLAGS
+       default 0
+       export used
+       comment "YABEL debug flags, for possible values, see util/x86emu/yabel/debug.h"
+end
+
+define CONFIG_YABEL_PCI_ACCESS_OTHER_DEVICES
+       default 0
+       export used
+       comment "Allow Option ROMs executed by YABEL to access the config space of devices other than the one YABEL is running for. This may be needed by some onboard Graphics cards ROMs."
+
+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
@@ -1061,12 +1123,49 @@ define CONFIG_AMDMCT
        comment "use AMD MCT to init RAM instead of native code"
 end
 
+define AMD_UCODE_PATCH_FILE
+       default none
+       export used
+       format "\"%s\""
+       comment "name of the microcode patch file"      
+end
+
+define K8_MEM_BANK_B_ONLY
+       default 0
+       export always
+       comment "use AMD K8's memory bank B only to make a 64bit memory system and memory bank A is free, such as Filbert."
+end
+
 define CONFIG_VIDEO_MB
         default none
         export used
         comment "Integrated graphics with UMA has dynamic setup"
 end
 
+define CONFIG_GFXUMA
+        default none
+        export used
+        comment "GFX UMA"
+end
+
+define HAVE_MAINBOARD_RESOURCES
+       default 0
+       export always
+       comment "Enable if the mainboard/chipset requires extra entries in the memory map"
+end
+
+define HAVE_LOW_TABLES
+       default 1
+       export always
+       comment "Enable if ACPI, PIRQ, MP tables are supposed to live in the low megabyte"
+end
+
+define HAVE_HIGH_TABLES
+       default 0
+       export always
+       comment "Enable if ACPI, PIRQ, MP tables are supposed to live at top of memory"
+end
+
 define CONFIG_SPLASH_GRAPHIC
        default 0
        export used
@@ -1091,6 +1190,12 @@ define CONFIG_GX1_VIDEOMODE
 # 4 for 1280x1024
 end
 
+define CONFIG_PCIE_CONFIGSPACE_HOLE
+       default 0
+       export always
+       comment "Leave a hole for PCIe config space in the device allocator"
+end
+
 ###############################################
 # Board specific options
 ###############################################