blob: ecdb5ea0c70698ae888adf44e28e4fbde26cede8 [file] [log] [blame]
Angel Pons4b429832020-04-02 23:48:50 +02001/* SPDX-License-Identifier: GPL-2.0-only */
2/* This file is part of the coreboot project. */
Stefan Reinauer278534d2008-10-29 04:51:07 +00003
Patrick Georgid0835952010-10-05 09:07:10 +00004#include <stdint.h>
5#include "i945.h"
Stefan Reinauer53b0ea42010-03-22 11:50:52 +00006#include "raminit.h"
7
Elyes HAOUAS8273e132020-03-10 22:17:12 +01008int fixup_i945gm_errata(void)
Stefan Reinauer278534d2008-10-29 04:51:07 +00009{
10 u32 reg32;
11
12 /* Mobile Intel 945 Express only */
13 reg32 = MCHBAR32(FSBPMC3);
14 reg32 &= ~((1 << 13) | (1 << 29));
15 MCHBAR32(FSBPMC3) = reg32;
16
17 return 0;
18}