2008-10-29 05:51:07 +01:00
|
|
|
/*
|
|
|
|
* This file is part of the coreboot project.
|
|
|
|
*
|
|
|
|
* Copyright (C) 2007-2008 coresystems GmbH
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; version 2 of the License.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*/
|
|
|
|
|
2010-10-05 11:07:10 +02:00
|
|
|
#include <stdint.h>
|
|
|
|
#include "i945.h"
|
2010-03-22 12:50:52 +01:00
|
|
|
#include "raminit.h"
|
|
|
|
|
2008-10-29 05:51:07 +01:00
|
|
|
int fixup_i945_errata(void)
|
|
|
|
{
|
|
|
|
u32 reg32;
|
|
|
|
|
|
|
|
/* Mobile Intel 945 Express only */
|
|
|
|
reg32 = MCHBAR32(FSBPMC3);
|
|
|
|
reg32 &= ~((1 << 13) | (1 << 29));
|
|
|
|
MCHBAR32(FSBPMC3) = reg32;
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|