blob: e8793c97db903cea440a21ccc18a74db9da20b90 [file] [log] [blame]
Angel Pons4b429832020-04-02 23:48:50 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Stefan Reinauer278534d2008-10-29 04:51:07 +00002
Patrick Georgid0835952010-10-05 09:07:10 +00003#include <stdint.h>
4#include "i945.h"
Stefan Reinauer53b0ea42010-03-22 11:50:52 +00005#include "raminit.h"
6
Elyes HAOUAS8273e132020-03-10 22:17:12 +01007int fixup_i945gm_errata(void)
Stefan Reinauer278534d2008-10-29 04:51:07 +00008{
9 u32 reg32;
10
11 /* Mobile Intel 945 Express only */
12 reg32 = MCHBAR32(FSBPMC3);
13 reg32 &= ~((1 << 13) | (1 << 29));
14 MCHBAR32(FSBPMC3) = reg32;
15
16 return 0;
17}