27 Feb
2014
27 Feb
'14
3:08 a.m.
@@ -134,6 +115,15 @@ struct fsl_ssi_rxtx_reg_val { struct fsl_ssi_reg_val rx; struct fsl_ssi_reg_val tx; }; +static const struct regmap_config fsl_ssi_regconfig = {
- .max_register = CCSR_SSI_SACCDIS,
- .reg_bits = 32,
- .val_bits = 32,
- .reg_stride = 4,
+#ifdef PPC
- .val_format_endian = REGMAP_ENDIAN_BIG,
+#endif
Is this really needed for your PPC platforms?
If so, I think this should depend on one specified platform, which the CPU is in LE mode while the SSI is in BE mode...
Thanks,
-- Best Regards, Xiubo