Fix compilation of AMD GX2 northbridge code with gcc 4.6

Change-Id: I71d96b7cd36dd99a3590ec311c11f67f13012e68
Signed-off-by: Stefan Reinauer <reinauer@google.com>
Reviewed-on: http://review.coreboot.org/267
Tested-by: build bot (Jenkins)
Reviewed-by: Uwe Hermann <uwe@hermann-uwe.de>
This commit is contained in:
Stefan Reinauer 2011-10-13 17:26:10 -07:00 committed by Uwe Hermann
parent 89fcdec972
commit 86fc9848ae
1 changed files with 2 additions and 2 deletions

View File

@ -485,7 +485,7 @@ performance:
static void GeodeLinkPriority(void)
{
msr_t msr;
msr_t msr = { 0, 0 };
struct msrinit *prio = GeodeLinkPriorityTable;
int i;
@ -526,7 +526,7 @@ static void setShadowRCONF(uint32_t shadowHi, uint32_t shadowLo)
/* ok this is whacky bit translation time. */
int bit;
uint8_t shadowByte;
msr_t msr;
msr_t msr = { 0, 0 };
shadowByte = (uint8_t) (shadowLo >> 16);
/* load up D000 settings in edx. */