soc: qcom: socinfo: Get SKU ID from kernel command line
Get the softsku_idx value by reading it from kernel command line and write it to sysfs file So, that post boot scripts get this values. Change-Id: I7a46b3d3d3db7d34ab4f29d5fe1ea79a5ed654d1 Signed-off-by: Chetan C R <quic_cchinnad@quicinc.com>
This commit is contained in:
parent
c3219d4f05
commit
f19e834b29
@ -187,6 +187,9 @@ static struct socinfo {
|
||||
#define SMEM_IMAGE_VERSION_OEM_OFFSET 95
|
||||
#define SMEM_IMAGE_VERSION_PARTITION_APPS 10
|
||||
|
||||
int softsku_id;
|
||||
module_param_named(softsku_id, softsku_id, int, 0644);
|
||||
|
||||
/* Version 2 */
|
||||
static uint32_t socinfo_get_raw_id(void)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user