i945,ICH7: Write on RPFN only once

RPFN is a R/WO register we write on it in i945/early_init.c and i82801gx/pcie.c
Drop the romstage write.

Change-Id: If9a131ad12530876a650b7a38daa9c9fc52aefb7
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/31005
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
Elyes HAOUAS 2019-01-19 08:52:25 +01:00 committed by Patrick Georgi
parent 75ebb6c5df
commit 1a9034cca6
1 changed files with 0 additions and 2 deletions

View File

@ -354,8 +354,6 @@ static void ich7_setup_dmi_rcrb(void)
RCBA32(HDD) = 0x0f000003;
RCBA32(RP5D) = 0x05000002;
RCBA32(RPFN) = 0x00543210;
pci_write_config16(PCI_DEV(0, 0x1c, 0), 0x42, 0x0141);
pci_write_config16(PCI_DEV(0, 0x1c, 4), 0x42, 0x0141);
pci_write_config16(PCI_DEV(0, 0x1c, 5), 0x42, 0x0141);