diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/siemens/mc_ehl/mainboard.c | 8 | ||||
-rw-r--r-- | src/mainboard/siemens/mc_ehl/variants/baseboard/include/baseboard/variants.h | 3 |
2 files changed, 11 insertions, 0 deletions
diff --git a/src/mainboard/siemens/mc_ehl/mainboard.c b/src/mainboard/siemens/mc_ehl/mainboard.c index d3475678bc..e64dbda54f 100644 --- a/src/mainboard/siemens/mc_ehl/mainboard.c +++ b/src/mainboard/siemens/mc_ehl/mainboard.c @@ -127,6 +127,9 @@ static void mainboard_final(void *chip_info) { struct device *dev; + /* Do board specific things */ + variant_mainboard_final(); + if (CONFIG(PCI_ALLOW_BUS_MASTER_ANY_DEVICE)) { /* Set Master Enable for on-board PCI devices if allowed. */ 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 = { .init = mainboard_init, .final = mainboard_final diff --git a/src/mainboard/siemens/mc_ehl/variants/baseboard/include/baseboard/variants.h b/src/mainboard/siemens/mc_ehl/variants/baseboard/include/baseboard/variants.h index bf057651d3..0893d99e03 100644 --- a/src/mainboard/siemens/mc_ehl/variants/baseboard/include/baseboard/variants.h +++ b/src/mainboard/siemens/mc_ehl/variants/baseboard/include/baseboard/variants.h @@ -15,4 +15,7 @@ const struct pad_config *variant_early_gpio_table(size_t *num); /* This function returns SPD related FSP-M mainboard configs */ const struct mb_cfg *variant_memcfg_config(void); +/* The following function performs board specific things. */ +void variant_mainboard_final(void); + #endif /*__BASEBOARD_VARIANTS_H__ */ |