aboutsummaryrefslogtreecommitdiff
path: root/src/northbridge/via/vx900/memmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/northbridge/via/vx900/memmap.c')
-rw-r--r--src/northbridge/via/vx900/memmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/northbridge/via/vx900/memmap.c b/src/northbridge/via/vx900/memmap.c
index 8cc7607356..9940502d27 100644
--- a/src/northbridge/via/vx900/memmap.c
+++ b/src/northbridge/via/vx900/memmap.c
@@ -83,7 +83,7 @@ void vx900_set_chrome9hd_fb_size(u32 size_mb)
fb_pow--;
size_mb = (1 << fb_pow);
- pci_mod_config8(MCU, 0xa1, 7 << 4, (fb_pow - 2) << 4);
+ pci_update_config8(MCU, 0xa1, ~(7 << 4), (fb_pow - 2) << 4);
}
/* Gets the configured framebuffer size as a power of 2 */