Add native memset() function on x86
[coreboot.git] / src / arch / x86 / Kconfig
index 6591159095982ff462753442a66f4fc1cdfdcf29..4ca49cbaf482b31b1ae54868fce5815e50b73aae 100644 (file)
@@ -1,3 +1,5 @@
+menu "Architecture (x86)"
+
 # This is an SMP option. It relates to starting up APs.
 # It is usually set in mainboard/*/Kconfig.
 # TODO: Improve description.
 # This is an SMP option. It relates to starting up APs.
 # It is usually set in mainboard/*/Kconfig.
 # TODO: Improve description.
@@ -6,20 +8,6 @@ config AP_IN_SIPI_WAIT
        default n
        depends on ARCH_X86
 
        default n
        depends on ARCH_X86
 
-# This is the name of the respective architecture subdirectory in arch/.
-config ARCH
-       string
-       default i386
-       depends on ARCH_X86
-
-config ROMBASE
-       hex
-       default 0xffff0000
-
-config ROM_IMAGE_SIZE
-       hex
-       default 0x10000
-
 config RAMBASE
        hex
        default 0x100000
 config RAMBASE
        hex
        default 0x100000
@@ -38,22 +26,12 @@ config MAX_REBOOT_CNT
        int
        default 3
 
        int
        default 3
 
-config TINY_BOOTBLOCK
-       bool
-       default n
-
-config BIG_BOOTBLOCK
-       bool
-       default n if TINY_BOOTBLOCK
-       default y
-
 # We had to rename the choice options under arch/ because otherwise
 # the options would conflict between different architectures despite
 # the if ARCH_xxx guarding the arch/xxx/Kconfig sourcing.
 choice
        prompt "Bootblock behaviour"
        default X86_BOOTBLOCK_SIMPLE
 # We had to rename the choice options under arch/ because otherwise
 # the options would conflict between different architectures despite
 # the if ARCH_xxx guarding the arch/xxx/Kconfig sourcing.
 choice
        prompt "Bootblock behaviour"
        default X86_BOOTBLOCK_SIMPLE
-       depends on TINY_BOOTBLOCK
 
 config X86_BOOTBLOCK_SIMPLE
        bool "Always load fallback"
 
 config X86_BOOTBLOCK_SIMPLE
        bool "Always load fallback"
@@ -71,7 +49,6 @@ config BOOTBLOCK_SOURCE
 config UPDATE_IMAGE
        bool "Update existing coreboot.rom image"
        default n
 config UPDATE_IMAGE
        bool "Update existing coreboot.rom image"
        default n
-       depends on TINY_BOOTBLOCK
        help
          If this option is enabled, no new coreboot.rom file
          is created. Instead it is expected that there already
        help
          If this option is enabled, no new coreboot.rom file
          is created. Instead it is expected that there already
@@ -89,5 +66,38 @@ config PC80_SYSTEM
 config BOOTBLOCK_NORTHBRIDGE_INIT
        string
 
 config BOOTBLOCK_NORTHBRIDGE_INIT
        string
 
+config HAVE_CMOS_DEFAULT
+       def_bool n
+
+config CMOS_DEFAULT_FILE
+       string
+       depends on HAVE_CMOS_DEFAULT
+
 config BOOTBLOCK_SOUTHBRIDGE_INIT
        string
 config BOOTBLOCK_SOUTHBRIDGE_INIT
        string
+
+config HAVE_ARCH_MEMSET
+       bool
+       default y
+
+config HAVE_ARCH_MEMCPY
+       bool
+       default y
+
+config BIG_ENDIAN
+       bool
+       default n
+
+config LITTLE_ENDIAN
+       bool
+       default !BIG_ENDIAN
+
+config IOAPIC_INTERRUPTS_ON_FSB
+       bool
+       default y if !IOAPIC_INTERRUPTS_ON_APIC_SERIAL_BUS
+
+config IOAPIC_INTERRUPTS_ON_APIC_SERIAL_BUS
+       bool
+       default n
+
+endmenu