qcacmn: Update pld_soc_info structure

Update pld_soc_info structure with more Hardware information.

Change-Id: Ie6dcd8bc281e2a4a11fc295870b3e4ec67756549
CRs-Fixed: 1046753
This commit is contained in:
Yuanyuan Liu
2016-07-27 10:32:18 -07:00
committed by Vishwajith Upendra
parent 92a19bbb3c
commit 595dc58d77

View File

@@ -106,18 +106,30 @@ enum pld_driver_mode {
PLD_OFF PLD_OFF
}; };
#define PLD_MAX_TIMESTAMP_LEN 32
/** /**
* struct pld_soc_info - SOC information * struct pld_soc_info - SOC information
* @v_addr: virtual address of preallocated memory * @v_addr: virtual address of preallocated memory
* @p_addr: physical address of preallcoated memory * @p_addr: physical address of preallcoated memory
* @version: version number * @chip_id: chip ID
* @chip_family: chip family
* @board_id: board ID
* @soc_id: SOC ID
* @fw_version: FW version
* @fw_build_timestamp: FW build timestamp
* *
* pld_soc_info is used to store WLAN SOC information. * pld_soc_info is used to store WLAN SOC information.
*/ */
struct pld_soc_info { struct pld_soc_info {
void __iomem *v_addr; void __iomem *v_addr;
phys_addr_t p_addr; phys_addr_t p_addr;
u32 version; u32 chip_id;
u32 chip_family;
u32 board_id;
u32 soc_id;
u32 fw_version;
char fw_build_timestamp[PLD_MAX_TIMESTAMP_LEN + 1];
}; };
/** /**