From 37332b66fa1911144dc2c7cd0bda77f7dbbcfb3b Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Wed, 29 May 2013 13:10:56 -0700 Subject: arch: clean up Kconfig and Makefile remove some unused code Change-Id: I41602fb391c1910c588a4f9dcc7c2edefe8ab5bc Signed-off-by: Stefan Reinauer Signed-off-by: Gabe Black Reviewed-on: http://review.coreboot.org/3669 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/arch/armv7/Kconfig | 17 ----------------- src/arch/x86/Kconfig | 12 ------------ src/arch/x86/lib/Makefile.inc | 1 - 3 files changed, 30 deletions(-) (limited to 'src/arch') diff --git a/src/arch/armv7/Kconfig b/src/arch/armv7/Kconfig index 488ca97e4c..7f4d75e270 100644 --- a/src/arch/armv7/Kconfig +++ b/src/arch/armv7/Kconfig @@ -1,9 +1,5 @@ menu "Architecture (armv7)" -config EABI_COMPAT - bool "Toolchain is EABI compatible" - default n - # Maximum reboot count # TODO: Improve description. config MAX_REBOOT_CNT @@ -36,17 +32,4 @@ config UPDATE_IMAGE is a suitable file for further processing. The bootblock will not be modified. -config BOOTBLOCK_SOC_INIT - string - -# FIXME: Should cache policy be set on a per-CPU basis? -# FIXME(dhendrix): Stefan sayz to make a smart decision and not prompt the user. -config ARM_DCACHE_POLICY_WRITEBACK - bool - default y - -config ARM_DCACHE_POLICY_WRITETHROUGH - bool - default n - endmenu diff --git a/src/arch/x86/Kconfig b/src/arch/x86/Kconfig index 69cdc8a5a4..95fc172695 100644 --- a/src/arch/x86/Kconfig +++ b/src/arch/x86/Kconfig @@ -103,14 +103,6 @@ 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 @@ -119,10 +111,6 @@ config IOAPIC_INTERRUPTS_ON_APIC_SERIAL_BUS bool default n -config PCI_CONF2 - bool - default n - config HPET_ADDRESS hex default 0xfed00000 if !HPET_ADDRESS_OVERRIDE diff --git a/src/arch/x86/lib/Makefile.inc b/src/arch/x86/lib/Makefile.inc index 7cdd3c64dd..56e4171578 100644 --- a/src/arch/x86/lib/Makefile.inc +++ b/src/arch/x86/lib/Makefile.inc @@ -1,7 +1,6 @@ ramstage-y += c_start.S ramstage-y += cpu.c ramstage-y += pci_ops_conf1.c -ramstage-$(CONFIG_PCI_CONF2) += pci_ops_conf2.c ramstage-$(CONFIG_MMCONF_SUPPORT) += pci_ops_mmconf.c ramstage-y += exception.c ramstage-$(CONFIG_IOAPIC) += ioapic.c -- cgit v1.2.3