intel/sandybridge,bd82x6x: Move enable_smbus() call
Change-Id: Icc6b572fea0c2097a7ed19b3f76c1e658cf32a9a Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/38298 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
This commit is contained in:
parent
1cfafe25e3
commit
ffa520fc13
|
@ -82,9 +82,6 @@ void mainboard_romstage_entry(void)
|
||||||
|
|
||||||
mainboard_early_init(s3resume);
|
mainboard_early_init(s3resume);
|
||||||
|
|
||||||
/* Enable SPD ROMs and DDR-III DRAM */
|
|
||||||
enable_smbus();
|
|
||||||
|
|
||||||
post_code(0x39);
|
post_code(0x39);
|
||||||
|
|
||||||
perform_raminit(s3resume);
|
perform_raminit(s3resume);
|
||||||
|
|
|
@ -327,4 +327,7 @@ void early_pch_init(void)
|
||||||
pch_enable_gbe();
|
pch_enable_gbe();
|
||||||
|
|
||||||
setup_pch_gpios(&mainboard_gpio_map);
|
setup_pch_gpios(&mainboard_gpio_map);
|
||||||
|
|
||||||
|
if (ENV_ROMSTAGE)
|
||||||
|
enable_smbus();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue