From 595dc58d77372b65ee18ff9aa85abb1e8fb6dc9c Mon Sep 17 00:00:00 2001 From: Yuanyuan Liu Date: Wed, 27 Jul 2016 10:32:18 -0700 Subject: [PATCH] qcacmn: Update pld_soc_info structure Update pld_soc_info structure with more Hardware information. Change-Id: Ie6dcd8bc281e2a4a11fc295870b3e4ec67756549 CRs-Fixed: 1046753 --- pld_stub/inc/pld_common.h | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/pld_stub/inc/pld_common.h b/pld_stub/inc/pld_common.h index f7ac8ad6e6..7689c9d6d4 100644 --- a/pld_stub/inc/pld_common.h +++ b/pld_stub/inc/pld_common.h @@ -106,18 +106,30 @@ enum pld_driver_mode { PLD_OFF }; +#define PLD_MAX_TIMESTAMP_LEN 32 + /** * struct pld_soc_info - SOC information * @v_addr: virtual address of preallocated 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. */ struct pld_soc_info { void __iomem *v_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]; }; /**