AMD SB800 early console use fix
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>
This commit is contained in:
parent
0bcfff7908
commit
3c59158810
|
@ -31,10 +31,8 @@
|
||||||
void sb800_cimx_config(AMDSBCFG *sb_config)
|
void sb800_cimx_config(AMDSBCFG *sb_config)
|
||||||
{
|
{
|
||||||
if (!sb_config) {
|
if (!sb_config) {
|
||||||
printk(BIOS_DEBUG, "SB800 - Cfg.c - sb800_cimx_config - No sb_config.\n");
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
printk(BIOS_INFO, "SB800 - Cfg.c - sb800_cimx_config - Start.\n");
|
|
||||||
//memset(sb_config, 0, sizeof(AMDSBCFG));
|
//memset(sb_config, 0, sizeof(AMDSBCFG));
|
||||||
|
|
||||||
/* header */
|
/* header */
|
||||||
|
@ -128,6 +126,5 @@ void sb800_cimx_config(AMDSBCFG *sb_config)
|
||||||
sb_config->StdHeader.CALLBACK.CalloutPtr = sb800_callout_entry;
|
sb_config->StdHeader.CALLBACK.CalloutPtr = sb800_callout_entry;
|
||||||
}
|
}
|
||||||
#endif //!__PRE_RAM__
|
#endif //!__PRE_RAM__
|
||||||
printk(BIOS_INFO, "SB800 - Cfg.c - sb800_cimx_config - End.\n");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue