soc: qcom: llcc-qcom: Extract major hardware version
[linux-2.6-microblaze.git] / include / linux / soc / qcom / llcc-qcom.h
index 3db6797..d17a3de 100644 (file)
@@ -79,6 +79,7 @@ struct llcc_edac_reg_data {
  * @bitmap: Bit map to track the active slice ids
  * @offsets: Pointer to the bank offsets array
  * @ecc_irq: interrupt for llcc cache error detection and reporting
+ * @major_version: Indicates the LLCC major version
  */
 struct llcc_drv_data {
        struct regmap *regmap;
@@ -91,6 +92,7 @@ struct llcc_drv_data {
        unsigned long *bitmap;
        u32 *offsets;
        int ecc_irq;
+       u32 major_version;
 };
 
 #if IS_ENABLED(CONFIG_QCOM_LLCC)