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:
parent
f27a3eba4d
commit
160361a1df
|
@ -115,7 +115,7 @@ static unsigned int get_memory_speed(void)
|
|||
#if USE_GOODRICH_VERSION
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// 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
|
||||
#define PLLCHECK_COMPLETED (1 << RSTPLL_LOWER_SWFLAGS_SHIFT)
|
||||
|
|
Loading…
Reference in New Issue