From 40f36e0d8d15a275d0109eac778e3b99bf4e0173 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Thu, 15 Nov 2012 16:03:27 -0800 Subject: Make sure only one udelay function is available The Agesa wrapper and UDELAY_TIMER2 define their own timer functions, so don't shove in UDELAY_IO Change-Id: Ibe3345e825e0c074d5f531dba1198cd6e7b0a42d Signed-off-by: Stefan Reinauer Reviewed-on: http://review.coreboot.org/1864 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- src/cpu/amd/agesa/Kconfig | 4 ++++ src/cpu/x86/Kconfig | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/cpu/amd/agesa/Kconfig b/src/cpu/amd/agesa/Kconfig index b7e69e015a..39175fc79e 100644 --- a/src/cpu/amd/agesa/Kconfig +++ b/src/cpu/amd/agesa/Kconfig @@ -29,6 +29,10 @@ config CPU_AMD_AGESA if CPU_AMD_AGESA +config UDELAY_IO + bool + default n + config XIP_ROM_SIZE hex default 0x100000 diff --git a/src/cpu/x86/Kconfig b/src/cpu/x86/Kconfig index 9a96aeadd8..4300c3d0e4 100644 --- a/src/cpu/x86/Kconfig +++ b/src/cpu/x86/Kconfig @@ -4,7 +4,7 @@ config SERIAL_CPU_INIT config UDELAY_IO bool - default y if !UDELAY_LAPIC && !UDELAY_TSC + default y if !UDELAY_LAPIC && !UDELAY_TSC && !UDELAY_TIMER2 default n config UDELAY_LAPIC -- cgit v1.2.3