summaryrefslogtreecommitdiff
path: root/src/northbridge/intel/gm45/gma.c
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2021-03-27 13:52:43 +0100
committerNico Huber <nico.h@gmx.de>2021-04-10 16:04:20 +0000
commit3f1f8ef931aa92c72006dd363d178336911e224c (patch)
tree873d802eb3bfbae15eeb58da8b87de88b062c122 /src/northbridge/intel/gm45/gma.c
parent677ac698680f31a83086245f3b741dcb79da6fc4 (diff)
downloadcoreboot-3f1f8ef931aa92c72006dd363d178336911e224c.tar.xz
nb/intel/gm45: Use new fixed BAR accessors
Tested with BUILD_TIMELESS=1, Roda RK9 remains identical. Change-Id: I18f40d1bc3172b3c1b6b4828cefdb91aea679ba2 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/51880 Reviewed-by: Nico Huber <nico.h@gmx.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/northbridge/intel/gm45/gma.c')
-rw-r--r--src/northbridge/intel/gm45/gma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/northbridge/intel/gm45/gma.c b/src/northbridge/intel/gm45/gma.c
index c771ea2deb..178149d119 100644
--- a/src/northbridge/intel/gm45/gma.c
+++ b/src/northbridge/intel/gm45/gma.c
@@ -33,7 +33,7 @@ static u32 get_cdclk(struct device *const dev)
{
const u16 cdclk_sel = pci_read_config16(dev, GCFGC_OFFSET) & GCFGC_CD_MASK;
- switch (MCHBAR8(HPLLVCO_MCHBAR) & 0x7) {
+ switch (mchbar_read8(HPLLVCO_MCHBAR) & 0x7) {
case VCO_2666:
case VCO_4000:
case VCO_5333: