From 76705479555e3597c31cc6bb88eb2f34cdf912eb Mon Sep 17 00:00:00 2001 From: Mono Date: Sun, 26 Feb 2017 13:35:17 +0100 Subject: [PATCH] UPSTREAM: mb/apple/macbook21: Remove PCI reset code from romstage Follow commit 7676730 (mb/lenovo/x60: Remove PCI reset code from romstage). The PCI reset was copied from code specific for Roda RK886EX and Kontron 986LCD-M. It is not needed on the MacBook. BUG=none BRANCH=none TEST=none Change-Id: I1a8fb6acddf19dfe8cbfcc9ef74684d8b7ac6950 Signed-off-by: Patrick Georgi Original-Commit-Id: a154a910cb8a611aeb85757f3ca447eeaf75f93e Original-Change-Id: I22dac962e8079732591f9bc134c1433f5c29ff4e Original-Signed-off-by: Axel Holewa Original-Reviewed-on: https://review.coreboot.org/18502 Original-Tested-by: build bot (Jenkins) Original-Reviewed-by: Nico Huber Original-Reviewed-by: Paul Menzel Reviewed-on: https://chromium-review.googlesource.com/449824 --- src/mainboard/apple/macbook21/romstage.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/mainboard/apple/macbook21/romstage.c b/src/mainboard/apple/macbook21/romstage.c index 962ad41577..92dfe7402d 100644 --- a/src/mainboard/apple/macbook21/romstage.c +++ b/src/mainboard/apple/macbook21/romstage.c @@ -253,11 +253,6 @@ void mainboard_romstage_entry(unsigned long bist) if (bist == 0) enable_lapic(); - /* Force PCIRST# */ - pci_write_config16(PCI_DEV(0, 0x1e, 0), BCTRL, SBR); - udelay(200 * 1000); - pci_write_config16(PCI_DEV(0, 0x1e, 0), BCTRL, 0); - ich7_enable_lpc(); /* Set up the console */