sb/intel/i82801gx: Set FERR# Mux Enable only on mobile platforms

This follows the ICH7 datasheets.

Change-Id: Ic8f6db8556662b03efead8c1b9e3074ffe24cd8b
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/36201
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Arthur Heymans 2019-10-21 20:02:14 +02:00 committed by Patrick Georgi
parent ebcb0c5b88
commit 39bde7cacf
1 changed files with 4 additions and 3 deletions

View File

@ -29,9 +29,6 @@ void ich7_setup_cir(void)
RCBA32(0x0214) = 0x10030549;
RCBA32(0x0218) = 0x00020504;
RCBA8(0x0220) = 0xc5;
reg32 = RCBA32(GCS);
reg32 |= (1 << 6);
RCBA32(GCS) = reg32;
RCBA32_AND_OR(0x3430, ~(3 << 0), 1 << 0);
RCBA16(0x0200) = 0x2008;
RCBA8(0x2027) = 0x0d;
@ -51,5 +48,9 @@ void ich7_setup_cir(void)
reg32 |= (5 << 16);
RCBA32(0x2034) = reg32;
}
/* FERR# MUX Enable (FME) */
reg32 = RCBA32(GCS);
reg32 |= (1 << 6);
RCBA32(GCS) = reg32;
}
}