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)
1186
1186
if (ret )
1187
1187
goto out ;
1188
1188
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 ;
1190
1193
return 0 ;
1191
1194
1192
1195
out :
Original file line number Diff line number Diff line change @@ -221,6 +221,7 @@ struct exynos_ufs {
221
221
#define EXYNOS_UFS_OPT_BROKEN_RX_SEL_IDX BIT(3)
222
222
#define EXYNOS_UFS_OPT_USE_SW_HIBERN8_TIMER BIT(4)
223
223
#define EXYNOS_UFS_OPT_SKIP_CONFIG_PHY_ATTR BIT(5)
224
+ #define EXYNOS_UFS_OPT_UFSPR_SECURE BIT(6)
224
225
};
225
226
226
227
#define for_each_ufs_rx_lane (ufs , i ) \
You can’t perform that action at this time.
0 commit comments