soc/intel/apollolake: Hook up Sata Hot Plug to device tree
Signed-off-by: Sean Rhodes <sean@starlabs.systems> Change-Id: I37d31598e87e5b625ded3186980e3aba7dcf6440 Reviewed-on: https://review.coreboot.org/c/coreboot/+/64523 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
This commit is contained in:
parent
2683108188
commit
de198bb707
|
@ -680,6 +680,9 @@ void platform_fsp_silicon_init_params_cb(FSPS_UPD *silupd)
|
||||||
if (cfg->emmc_host_max_speed != 0)
|
if (cfg->emmc_host_max_speed != 0)
|
||||||
silconfig->eMMCHostMaxSpeed = cfg->emmc_host_max_speed;
|
silconfig->eMMCHostMaxSpeed = cfg->emmc_host_max_speed;
|
||||||
|
|
||||||
|
memcpy(silconfig->SataPortsHotPlug, cfg->SataPortsHotPlug,
|
||||||
|
sizeof(silconfig->SataPortsHotPlug));
|
||||||
|
|
||||||
silconfig->LPSS_S0ixEnable = cfg->lpss_s0ix_enable;
|
silconfig->LPSS_S0ixEnable = cfg->lpss_s0ix_enable;
|
||||||
|
|
||||||
/* Disable monitor mwait since it is broken due to a hardware bug
|
/* Disable monitor mwait since it is broken due to a hardware bug
|
||||||
|
|
|
@ -96,6 +96,9 @@ struct soc_intel_apollolake_config {
|
||||||
/* Select the eMMC max speed allowed. */
|
/* Select the eMMC max speed allowed. */
|
||||||
uint8_t emmc_host_max_speed;
|
uint8_t emmc_host_max_speed;
|
||||||
|
|
||||||
|
/* Sata Ports Hot Plug */
|
||||||
|
uint8_t SataPortsHotPlug[2];
|
||||||
|
|
||||||
/* Specifies on which IRQ the SCI will internally appear. */
|
/* Specifies on which IRQ the SCI will internally appear. */
|
||||||
uint8_t sci_irq;
|
uint8_t sci_irq;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue