AMD SB800 early console use fix
authorefdesign98 <efdesign98@gmail.com>
Wed, 14 Sep 2011 22:22:31 +0000 (16:22 -0600)
committerMarc Jones <marcj303@gmail.com>
Wed, 14 Sep 2011 22:44:09 +0000 (00:44 +0200)
This change removes printk's that occur before
console init is called.  In the best case, these
would cause an extremely slow boot, and in the
worst case would cause a complete post failure.

Change-Id: I50388e71225e95db602aa45835c39126c1c920a3
Signed-off-by: Frank Vibrans <frank.vibrans@amd.com>
Signed-off-by: efdesign98 <efdesign98@gmail.com>
Reviewed-on: http://review.coreboot.org/216
Tested-by: build bot (Jenkins)
Reviewed-by: Marc Jones <marcj303@gmail.com>
src/southbridge/amd/cimx/sb800/cfg.c

index 45a460be4faccd39734a6f7d190b3b6e0d40b2af..a7801a8fc5b19d601c436cba3296610aea934e58 100644 (file)
 void sb800_cimx_config(AMDSBCFG *sb_config)
 {
        if (!sb_config) {
-               printk(BIOS_DEBUG, "SB800 - Cfg.c - sb800_cimx_config - No sb_config.\n");
                return;
        }
-       printk(BIOS_INFO, "SB800 - Cfg.c - sb800_cimx_config - Start.\n");
        //memset(sb_config, 0, sizeof(AMDSBCFG));
 
        /* header */
@@ -128,6 +126,5 @@ void sb800_cimx_config(AMDSBCFG *sb_config)
                sb_config->StdHeader.CALLBACK.CalloutPtr = sb800_callout_entry;
        }
 #endif //!__PRE_RAM__
-       printk(BIOS_INFO, "SB800 - Cfg.c - sb800_cimx_config - End.\n");
 }