| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | #include <stdint.h> |
| 4 | |
| 5 | #include "i945.h" |
| 6 | #include "raminit.h" |
| 7 | |
| 8 | int fixup_i945gm_errata(void) |
| 9 | { |
| 10 | u32 reg32; |
| 11 | |
| 12 | /* Mobile Intel 945 Express only */ |
| 13 | reg32 = mchbar_read32(FSBPMC3); |
| 14 | reg32 &= ~((1 << 13) | (1 << 29)); |
| 15 | mchbar_write32(FSBPMC3, reg32); |
| 16 | |
| 17 | return 0; |
| 18 | } |