Revision: linuxbios@linuxbios.org--devel/freebios--devel--2.0--patch-30
[coreboot.git] / src / config / Options.lb
index 5993ae14dd00d39acba81c1358e7da06b8797573..35a3151b5251762e9030200e15a04c1cd6940e12 100644 (file)
@@ -61,30 +61,10 @@ define ARCH
        export always
        comment "Default architecture is i386, options are alpha and ppc"
 end
-define k7
-       default none
-       export always
-       comment "We're a k7"
-end
-define k8
-       default none
-       export always
-       comment "We're a k8"
-end
-define i586
-       default none
-       export always
-       comment "We're a 586"
-end
-define i686
-       default none
-       export always
-       comment "We're a 686"
-end
-define CPU_FIXUP
-       default none
+define HAVE_MOVNTI
+       default 0
        export always
-       comment "Do CPU fixups"
+       comment "This cpu supports the MOVNTI directive"
 end
 
 ###############################################
@@ -112,59 +92,69 @@ define CPU_OPT
        comment "Additional per-cpu CFLAGS"
 end
 define OBJCOPY
-       default "$(CROSS_COMPILE)objcopy"
+       default "$(CROSS_COMPILE)objcopy --gap-fill 0xff"
        export always
        comment "Objcopy command"
 end
 define LINUXBIOS_VERSION
-       default "1.1.6"
+       default "1.1.8"
        export always
+       format "\"%s\""
        comment "LinuxBIOS version"
 end
 define LINUXBIOS_EXTRA_VERSION
         default ""
         export used
+       format "\"%s\""
         comment "LinuxBIOS extra version"
 end
 define LINUXBIOS_BUILD
        default "$(shell date)"
        export always
+       format "\"%s\""
        comment "Build date"
 end
 define LINUXBIOS_COMPILE_TIME
        default "$(shell date +%T)"
        export always
+       format "\"%s\""
        comment "Build time"
 end
 define LINUXBIOS_COMPILE_BY
        default "$(shell whoami)"
        export always
+       format "\"%s\""
        comment "Who build this image"
 end
 define LINUXBIOS_COMPILE_HOST
        default "$(shell hostname)"
        export always
+       format "\"%s\""
        comment "Build host"
 end
 
 define LINUXBIOS_COMPILE_DOMAIN
        default "$(shell dnsdomainname)"
        export always
+       format "\"%s\""
        comment "Build domain name"
 end
 define LINUXBIOS_COMPILER
        default "$(shell $(CC) $(CFLAGS) -v 2>&1 | tail -n 1)"
        export always
+       format "\"%s\""
        comment "Build compiler"
 end
 define LINUXBIOS_LINKER
        default "$(shell  $(CC) -Wl,-v 2>&1 | grep version | tail -n 1)"
        export always
+       format "\"%s\""
        comment "Build linker"
 end
 define LINUXBIOS_ASSEMBLER
        default "$(shell  touch dummy.s ; $(CC) -c -Wa,-v dummy.s 2>&1; rm -f dummy.s dummy.o )"
        export always
+       format "\"%s\""
        comment "Build assembler"
 end
 define CONFIG_CHIP_CONFIGURE
@@ -263,7 +253,7 @@ end
 define HEAP_SIZE
        default 0x2000
        format "0x%x"
-       export used
+       export always
        comment "Default heap size"
 end
 define _RAMBASE
@@ -364,7 +354,7 @@ end
 ###############################################
 
 define CRT0
-       default "$(TOP)/src/arch/$(ARCH)/config/crt0.base"
+       default "$(TOP)/src/arch/$(ARCH)/init/crt0.S.lb"
        export always
        comment "Main initialization target"
 end
@@ -383,6 +373,11 @@ define CONFIG_CONSOLE_VGA
        export always
        comment "Log messages to VGA"
 end
+define CONFIG_CONSOLE_BTEXT
+        default 0
+        export always
+        comment "Log messages to btext fb console"
+end
 define CONFIG_CONSOLE_LOGBUF
        default 0
        export always
@@ -415,7 +410,7 @@ define CONFIG_SERIAL_POST
 end
 define NO_POST
        default none
-       export always
+       export used
        comment "Disable POST codes"
 end
 define TTYS0_BASE
@@ -454,13 +449,26 @@ end
 define MAINBOARD_PART_NUMBER
        default "Part_number_not_set"
        export always
+       format "\"%s\""
        comment "Part number of mainboard"
 end
 define MAINBOARD_VENDOR
        default "Vendor_not_set"
        export always
+       format "\"%s\""
        comment "Vendor of mainboard"
 end
+define MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
+       default 0
+       export always
+       comment "PCI Vendor ID of mainboard manufacturer"
+end
+define MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
+       default 0
+       format "0x%x"
+       export always
+       comment "PCI susbsystem device id assigned my mainboard manufacturer"
+end
 define MAINBOARD_POWER_ON_AFTER_POWER_FAIL
        default none
        export used
@@ -476,7 +484,11 @@ define CONFIG_LEGACY_VGABIOS
        export used
        comment "Support for legacy VGA BIOS"
 end
-
+define VGABIOS_START
+       default 0
+       export used
+       comment "Base of Legacy VGA in Rom"
+end
 ###############################################
 # SMP options
 ###############################################
@@ -491,11 +503,6 @@ define CONFIG_MAX_CPUS
         export always
         comment "Maximum CPU count for this machine"
 end
-define CONFIG_MAX_PHYSICAL_CPUS
-       default {CONFIG_MAX_CPUS}
-       export always
-       comment "Physical CPU count for this machine"
-end
 define CONFIG_LOGICAL_CPUS
        default 0
        export always
@@ -503,7 +510,7 @@ define CONFIG_LOGICAL_CPUS
 end
 define HAVE_MP_TABLE
        default none
-       export always
+       export used
        comment "Define to build an MP table"
 end
 
@@ -565,22 +572,22 @@ end
 
 define HAVE_PIRQ_TABLE
        default none
-       export always
+       export used
        comment "Define if we have a PIRQ table"
 end
 define IRQ_SLOT_COUNT
        default none
-       export always
+       export used
        comment "Number of IRQ slots"
 end
 define CONFIG_PCIBIOS_IRQ
        default none
-       export always
+       export used
        comment "PCIBIOS IRQ support"
 end
 define CONFIG_IOAPIC
        default none
-       export always
+       export used
        comment "IOAPIC support"
 end
 
@@ -600,7 +607,7 @@ define IDE_BOOT_DRIVE
 end
 define IDE_SWAB
        default none
-       export always
+       export used
        comment "Swap bytes when reading from IDE device"
 end
 define IDE_OFFSET
@@ -670,11 +677,43 @@ 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
+       comment "Compile in gdb stub support?"
+end
+
+define HAVE_INIT_TIMER
+       default 0
+       export always
+       comment "Have a init_timer function"
+end
 define HAVE_HARD_RESET
        default none
        export used
        comment "Have hard reset"
 end
+define HARD_RESET_BUS
+       default 1
+       export always
+       comment "Bus number of southbridge device doing reset"
+end
+define HARD_RESET_DEVICE
+       default 5
+       export always
+       comment "Device number of southbridge device doing reset"
+end
+define HARD_RESET_FUNCTION
+       default 0
+       export always
+       comment "Function number of southbridge device doing reset"
+end
 define MEMORY_HOLE
        default none
        export used
@@ -697,7 +736,7 @@ define CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
 end
 define INTEL_PPRO_MTRR
        default none
-       export always
+       export used
        comment ""
 end
 define CONFIG_UDELAY_TSC
@@ -717,6 +756,25 @@ define HAVE_ACPI_TABLES
        comment "Define to build ACPI tables"
 end
 
+define AGP_APERTURE_SIZE
+       default none
+       export used
+       format "0x%x"
+       comment "AGP graphics virtual memory aperture size"
+end
+
+define CK804_DEVN_BASE
+       default 1
+       export always
+       comment "CK804 device count from 0 or 1"
+end
+
+define CONFIG_PCI_ROM_RUN
+       default 0
+       export always
+       comment "Init PCI device option rom"
+end
+
 
 ###############################################
 # Board specific options