| 1 |
|
| 2 |
|
| 3 |
#ifndef SOC_INTEL_COMMON_BLOCK_CFG_H |
| 4 |
#define SOC_INTEL_COMMON_BLOCK_CFG_H |
| 5 |
|
| 6 |
#include <boot/coreboot_tables.h> |
| 7 |
#include <bootsplash.h> |
| 8 |
#include <intelblocks/gspi.h> |
| 9 |
#include <drivers/i2c/designware/dw_i2c.h> |
| 10 |
#include <intelblocks/mmc.h> |
| 11 |
|
| 12 |
enum { |
| 13 |
CHIPSET_LOCKDOWN_COREBOOT = 0, |
| 14 |
CHIPSET_LOCKDOWN_FSP, |
| 15 |
}; |
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
struct soc_intel_common_config { |
| 23 |
int chipset_lockdown; |
| 24 |
struct gspi_cfg gspi[CONFIG_SOC_INTEL_COMMON_BLOCK_GSPI_MAX]; |
| 25 |
struct dw_i2c_bus_config i2c[CONFIG_SOC_INTEL_I2C_DEV_MAX]; |
| 26 |
|
| 27 |
uint8_t pch_thermal_trip; |
| 28 |
struct mmc_dll_params emmc_dll; |
| 29 |
enum lb_fb_orientation panel_orientation; |
| 30 |
enum fw_splash_vertical_alignment logo_valignment; |
| 31 |
|
| 32 |
uint8_t logo_bottom_margin; |
| 33 |
}; |
| 34 |
|
| 35 |
|
| 36 |
struct soc_intel_common_config *chip_get_common_soc_structure(void); |
| 37 |
|
| 38 |
#endif |