File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -1186,7 +1186,10 @@ static int exynos_ufs_init(struct ufs_hba *hba)
11861186 if (ret )
11871187 goto out ;
11881188 exynos_ufs_specify_phy_time_attr (ufs );
1189- exynos_ufs_config_smu (ufs );
1189+ if (!(ufs -> opts & EXYNOS_UFS_OPT_UFSPR_SECURE ))
1190+ exynos_ufs_config_smu (ufs );
1191+
1192+ hba -> host -> dma_alignment = SZ_4K - 1 ;
11901193 return 0 ;
11911194
11921195out :
Original file line number Diff line number Diff line change @@ -221,6 +221,7 @@ struct exynos_ufs {
221221#define EXYNOS_UFS_OPT_BROKEN_RX_SEL_IDX BIT(3)
222222#define EXYNOS_UFS_OPT_USE_SW_HIBERN8_TIMER BIT(4)
223223#define EXYNOS_UFS_OPT_SKIP_CONFIG_PHY_ATTR BIT(5)
224+ #define EXYNOS_UFS_OPT_UFSPR_SECURE BIT(6)
224225};
225226
226227#define for_each_ufs_rx_lane (ufs , i ) \
You can’t perform that action at this time.
0 commit comments