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:
parent
89fcdec972
commit
86fc9848ae
|
@ -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. */
|
||||
|
|
Loading…
Reference in New Issue