mirror of https://gitee.com/openkylin/linux.git
crypto: inside-secure - fix typo s/allways/always/ in a define
Small cosmetic patch fixing one typo in the EIP197_HIA_DSE_CFG_ALLWAYS_BUFFERABLE macro, it should be _ALWAYS_. Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
b869648c06
commit
c2c55404bd
|
@ -332,7 +332,7 @@ static int safexcel_hw_init(struct safexcel_crypto_priv *priv)
|
|||
val = EIP197_HIA_DSE_CFG_DIS_DEBUG;
|
||||
val |= EIP197_HIA_DxE_CFG_MIN_DATA_SIZE(7) | EIP197_HIA_DxE_CFG_MAX_DATA_SIZE(8);
|
||||
val |= EIP197_HIA_DxE_CFG_DATA_CACHE_CTRL(WR_CACHE_3BITS);
|
||||
val |= EIP197_HIA_DSE_CFG_ALLWAYS_BUFFERABLE;
|
||||
val |= EIP197_HIA_DSE_CFG_ALWAYS_BUFFERABLE;
|
||||
/* FIXME: instability issues can occur for EIP97 but disabling it impact
|
||||
* performances.
|
||||
*/
|
||||
|
|
|
@ -179,7 +179,7 @@
|
|||
#define EIP197_HIA_DxE_CFG_MIN_DATA_SIZE(n) ((n) << 0)
|
||||
#define EIP197_HIA_DxE_CFG_DATA_CACHE_CTRL(n) (((n) & 0x7) << 4)
|
||||
#define EIP197_HIA_DxE_CFG_MAX_DATA_SIZE(n) ((n) << 8)
|
||||
#define EIP197_HIA_DSE_CFG_ALLWAYS_BUFFERABLE GENMASK(15, 14)
|
||||
#define EIP197_HIA_DSE_CFG_ALWAYS_BUFFERABLE GENMASK(15, 14)
|
||||
#define EIP197_HIA_DxE_CFG_MIN_CTRL_SIZE(n) ((n) << 16)
|
||||
#define EIP197_HIA_DxE_CFG_CTRL_CACHE_CTRL(n) (((n) & 0x7) << 20)
|
||||
#define EIP197_HIA_DxE_CFG_MAX_CTRL_SIZE(n) ((n) << 24)
|
||||
|
|
Loading…
Reference in New Issue