Author: hailfinger Date: 2008-11-08 02:51:32 +0100 (Sat, 08 Nov 2008) New Revision: 3737
Modified: trunk/coreboot-v2/src/northbridge/amd/gx2/pll_reset.c Log: 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
Modified: trunk/coreboot-v2/src/northbridge/amd/gx2/pll_reset.c =================================================================== --- trunk/coreboot-v2/src/northbridge/amd/gx2/pll_reset.c 2008-11-08 01:39:12 UTC (rev 3736) +++ trunk/coreboot-v2/src/northbridge/amd/gx2/pll_reset.c 2008-11-08 01:51:32 UTC (rev 3737) @@ -115,7 +115,7 @@ #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)