The POST_CODE macro had the outb() argument order backwards.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3737 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Carl-Daniel Hailfinger 2008-11-08 01:51:32 +00:00
parent f27a3eba4d
commit 160361a1df
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ static unsigned int get_memory_speed(void)
#if USE_GOODRICH_VERSION #if USE_GOODRICH_VERSION
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
// Goodrich Version of pll_reset // Goodrich Version of pll_reset
#define POST_CODE(x) outb(0x80, x) #define POST_CODE(x) outb(x, 0x80)
// PLLCHECK_COMPLETED is the "we've already done this" flag // PLLCHECK_COMPLETED is the "we've already done this" flag
#define PLLCHECK_COMPLETED (1 << RSTPLL_LOWER_SWFLAGS_SHIFT) #define PLLCHECK_COMPLETED (1 << RSTPLL_LOWER_SWFLAGS_SHIFT)