summaryrefslogtreecommitdiff
path: root/src/northbridge/amd
diff options
context:
space:
mode:
authorAladyshev Konstantin <aladyshev@nicevt.ru>2012-12-18 22:44:01 +0400
committerRonald G. Minnich <rminnich@gmail.com>2013-01-04 06:38:24 +0100
commit9027845d65e5e05a45894eb176070fd99e2e073c (patch)
tree2fb0b69c1eeebf951d5b050016fb9a7102750d70 /src/northbridge/amd
parent05cbce672e4a41bc55fc09b65aacd0872a756a5b (diff)
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 <aladyshev@nicevt.ru> Reviewed-on: http://review.coreboot.org/2045 Tested-by: build bot (Jenkins) Reviewed-by: Zheng Bao <zheng.bao@amd.com> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/northbridge/amd')
-rw-r--r--src/northbridge/amd/cimx/rd890/late.c1
1 files changed, 1 insertions, 0 deletions
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);
}