diff options
author | Sudheer Kumar Amrabadi <samrabad@codeaurora.org> | 2022-05-10 16:43:47 +0530 |
---|---|---|
committer | Shelley Chen <shchen@google.com> | 2022-06-01 01:32:00 +0000 |
commit | 58f6031b610562301e52fcebda5d3d9da9c2bfb6 (patch) | |
tree | 31ddf836fec14703677d3a5753b93dbc5f8c469e /src/soc/qualcomm/common/include | |
parent | dfe817e45165fdbb8f4f7f83de83710cc46e75d6 (diff) |
qclib common code clean up changes
BUG=b:227946776
TEST=Validated on sc7180 and sc7280 hardware
Signed-off-by: Sudheer Kumar Amrabadi <quic_samrabad@quicinc.com>
Change-Id: I211e132d1728cf14bdd201b71618af89b339cbc1
Reviewed-on: https://review.coreboot.org/c/coreboot/+/64245
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/soc/qualcomm/common/include')
-rw-r--r-- | src/soc/qualcomm/common/include/soc/qclib_common.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/soc/qualcomm/common/include/soc/qclib_common.h b/src/soc/qualcomm/common/include/soc/qclib_common.h index 648b29d343..f38ed77a0d 100644 --- a/src/soc/qualcomm/common/include/soc/qclib_common.h +++ b/src/soc/qualcomm/common/include/soc/qclib_common.h @@ -27,6 +27,14 @@ /* BA_BMASK_VALUES (blob_attributes bit mask values) */ #define QCLIB_BA_SAVE_TO_STORAGE 0x00000001 +enum qclib_cbfs_file { + QCLIB_CBFS_PMICCFG, + QCLIB_CBFS_QCSDI, + QCLIB_CBFS_QCLIB, + QCLIB_CBFS_DCB, + QCLIB_CBFS_MAX +}; + struct qclib_cb_if_table_entry { char name[QCLIB_TE_NAME_LENGTH]; /* 0x00 TE_NAME */ uint64_t blob_address; /* 0x18 blob addr in SRAM */ @@ -60,4 +68,7 @@ void qclib_add_if_table_entry(const char *name, void *base, void qclib_load_and_run(void); int qclib_soc_blob_load(void); +const char *qclib_file_default(enum qclib_cbfs_file file); +const char *qclib_file(enum qclib_cbfs_file file); + #endif // _SOC_QUALCOMM_QCLIB_COMMON_H_ |