soc/intel/alderlake: Add support for UFS controller
UFS(Universal Flash Storage) is the next generation storage standard and a SCSI storage technology. It is also a successor of eMMC. Following changes are needed to add support for UFS - 1) Add UFS controller to chipset.cb and keep it off by default 2) Hook up FSP enable UPD for UFS #1 to the device from chipset.cb Signed-off-by: Meera Ravindranath <meera.ravindranath@intel.com> Signed-off-by: Rizwan Qureshi <rizwan.qureshi@intel.com> Change-Id: I92f024ded64e1eaef41a7807133361d74b5009d4 Reviewed-on: https://review.coreboot.org/c/coreboot/+/62856 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Subrata Banik <subratabanik@google.com> Reviewed-by: Kangheui Won <khwon@chromium.org> Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
This commit is contained in:
committed by
Felix Held
parent
37c33052e5
commit
d8ea360d3e
@@ -118,6 +118,7 @@ chip soc/intel/alderlake
|
||||
device pci 10.7 alias thc1 off end
|
||||
device pci 12.0 alias ish off end
|
||||
device pci 12.6 alias gspi2 off end
|
||||
device pci 12.7 alias ufs off end
|
||||
device pci 13.0 alias gspi3 off end
|
||||
device pci 14.0 alias xhci off
|
||||
chip drivers/usb/acpi
|
||||
|
@@ -642,6 +642,11 @@ static void fill_fsps_storage_params(FSP_S_CONFIG *s_cfg,
|
||||
if (s_cfg->ScsEmmcEnabled)
|
||||
s_cfg->ScsEmmcHs400Enabled = config->emmc_enable_hs400_mode;
|
||||
#endif
|
||||
|
||||
/* UFS Configuration */
|
||||
s_cfg->UfsEnable[0] = 0; /* UFS Controller 0 is fuse disabled */
|
||||
s_cfg->UfsEnable[1] = is_devfn_enabled(PCH_DEVFN_UFS);
|
||||
|
||||
/* Enable Hybrid storage auto detection */
|
||||
s_cfg->HybridStorageMode = config->hybrid_storage_mode;
|
||||
}
|
||||
|
Reference in New Issue
Block a user