spd/lp5: Add Hynix memory part
[coreboot2.git] / src / mainboard / starlabs / starfighter / mainboard.c
blobd394f2579db0e502328c1ffbe12a42868e7ba5e7
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <device/device.h>
4 #include <soc/ramstage.h>
5 #include <option.h>
6 #include <variants.h>
8 enum cmos_power_profile get_power_profile(enum cmos_power_profile fallback)
10 const unsigned int power_profile = get_uint_option("power_profile", fallback);
11 return power_profile < NUM_POWER_PROFILES ? power_profile : fallback;
14 static void init_mainboard(void *chip_info)
16 const struct pad_config *pads;
17 size_t num;
19 pads = variant_gpio_table(&num);
20 gpio_configure_pads(pads, num);
22 devtree_update();
25 struct chip_operations mainboard_ops = {
26 .init = init_mainboard,