| 1 |
|
| 2 |
|
| 3 |
#ifndef __BASEBOARD_VARIANTS_H__ |
| 4 |
#define __BASEBOARD_VARIANTS_H__ |
| 5 |
|
| 6 |
#include <soc/gpio.h> |
| 7 |
#include <soc/meminit.h> |
| 8 |
#include <stdint.h> |
| 9 |
|
| 10 |
|
| 11 |
void variant_configure_gpio_pads(void); |
| 12 |
void variant_configure_early_gpio_pads(void); |
| 13 |
|
| 14 |
size_t variant_memory_sku(void); |
| 15 |
const struct mb_cfg *variant_memory_params(void); |
| 16 |
void rpl_memory_params(FSPM_UPD *memupd); |
| 17 |
|
| 18 |
|
| 19 |
void variant_devtree_update(void); |
| 20 |
struct cpu_power_limits { |
| 21 |
uint16_t mchid; |
| 22 |
u8 cpu_tdp; |
| 23 |
unsigned int pl1_min_power; |
| 24 |
unsigned int pl1_max_power; |
| 25 |
unsigned int pl2_min_power; |
| 26 |
unsigned int pl2_max_power; |
| 27 |
unsigned int pl4_power; |
| 28 |
}; |
| 29 |
|
| 30 |
void variant_update_power_limits(void); |
| 31 |
|
| 32 |
#endif |