summaryrefslogtreecommitdiff
path: root/src/mainboard/via
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-02-07 16:18:20 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-02-10 19:44:10 +0000
commitc043408ec51a3fe6aa63389f982d4d450b844973 (patch)
tree1444d865bc41dfa736a937e9e2f1d66837dd89dd /src/mainboard/via
parenteeedf83bcddf7003d8a2d69740689febe95f821a (diff)
downloadcoreboot-c043408ec51a3fe6aa63389f982d4d450b844973.tar.xz
nb/via/vx900: Replace pci_mod_configX()
If clr_mask == 0, use pci_or_configX(). If clr_mask != 0, invert mask and use pci_update_configX(). Change-Id: I4ae64e9b635b3759e4cffc4bbdf029411a4e0f42 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/31272 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/via')
-rw-r--r--src/mainboard/via/epia-m850/romstage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/via/epia-m850/romstage.c b/src/mainboard/via/epia-m850/romstage.c
index c9a244e5b8..8ce47349b1 100644
--- a/src/mainboard/via/epia-m850/romstage.c
+++ b/src/mainboard/via/epia-m850/romstage.c
@@ -95,5 +95,5 @@ void main(unsigned long bist)
/* FIXME: See if this is needed or take this out please */
/* Disable Memcard and SDIO */
- pci_mod_config8(LPC, 0x51, 0, (1 << 7) | (1 << 4));
+ pci_or_config8(LPC, 0x51, (1 << 7) | (1 << 4));
}