From 9027845d65e5e05a45894eb176070fd99e2e073c Mon Sep 17 00:00:00 2001 From: Aladyshev Konstantin Date: Tue, 18 Dec 2012 22:44:01 +0400 Subject: [PATCH] rd890: clear IO-APIC before setup Add function "clear_ioapic" before "setup_ioapic" for RD890 northbridge like it is done for SB700 and SB800 chipsets ("amd/cimx/sb{7,8}00"). No functionality change is noticed. Change-Id: I1fd87692d8bf35c166141c9b7a6a1e748c19a636 Signed-off-by: Aladyshev Konstantin Reviewed-on: http://review.coreboot.org/2045 Tested-by: build bot (Jenkins) Reviewed-by: Zheng Bao Reviewed-by: Stefan Reinauer --- src/northbridge/amd/cimx/rd890/late.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/northbridge/amd/cimx/rd890/late.c b/src/northbridge/amd/cimx/rd890/late.c index 1a345a23a2..13ca09cd85 100644 --- a/src/northbridge/amd/cimx/rd890/late.c +++ b/src/northbridge/amd/cimx/rd890/late.c @@ -123,6 +123,7 @@ static void ioapic_init(struct device *dev) pci_write_config32(dev, 0xF8, 0x1); ioapic_base = pci_read_config32(dev, 0xFC) & 0xfffffff0; + clear_ioapic(ioapic_base); setup_ioapic(ioapic_base, 1); }