mb/siemens/mc_ehl: Add variant_mainboard_final()
In upcoming patches, we need mainboard specific adjustments. Change-Id: Icf9d829b19b2d26a39ad34be4658064083e9da6d Signed-off-by: Mario Scheithauer <mario.scheithauer@siemens.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/58171 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Werner Zeh <werner.zeh@siemens.com> Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
This commit is contained in:
parent
93b537f907
commit
d7f45ea87b
|
@ -127,6 +127,9 @@ static void mainboard_final(void *chip_info)
|
||||||
{
|
{
|
||||||
struct device *dev;
|
struct device *dev;
|
||||||
|
|
||||||
|
/* Do board specific things */
|
||||||
|
variant_mainboard_final();
|
||||||
|
|
||||||
if (CONFIG(PCI_ALLOW_BUS_MASTER_ANY_DEVICE)) {
|
if (CONFIG(PCI_ALLOW_BUS_MASTER_ANY_DEVICE)) {
|
||||||
/* Set Master Enable for on-board PCI devices if allowed. */
|
/* Set Master Enable for on-board PCI devices if allowed. */
|
||||||
dev = dev_find_device(PCI_VENDOR_ID_SIEMENS, 0x403e, 0);
|
dev = dev_find_device(PCI_VENDOR_ID_SIEMENS, 0x403e, 0);
|
||||||
|
@ -139,6 +142,11 @@ static void mainboard_final(void *chip_info)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* The following function performs board specific things. */
|
||||||
|
void __weak variant_mainboard_final(void)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
struct chip_operations mainboard_ops = {
|
struct chip_operations mainboard_ops = {
|
||||||
.init = mainboard_init,
|
.init = mainboard_init,
|
||||||
.final = mainboard_final
|
.final = mainboard_final
|
||||||
|
|
|
@ -15,4 +15,7 @@ const struct pad_config *variant_early_gpio_table(size_t *num);
|
||||||
/* This function returns SPD related FSP-M mainboard configs */
|
/* This function returns SPD related FSP-M mainboard configs */
|
||||||
const struct mb_cfg *variant_memcfg_config(void);
|
const struct mb_cfg *variant_memcfg_config(void);
|
||||||
|
|
||||||
|
/* The following function performs board specific things. */
|
||||||
|
void variant_mainboard_final(void);
|
||||||
|
|
||||||
#endif /*__BASEBOARD_VARIANTS_H__ */
|
#endif /*__BASEBOARD_VARIANTS_H__ */
|
||||||
|
|
Loading…
Reference in New Issue