diff options
author | Sudheer Kumar Amrabadi <samrabad@codeaurora.org> | 2023-03-15 15:17:36 +0530 |
---|---|---|
committer | Julius Werner <jwerner@chromium.org> | 2023-03-17 00:34:08 +0000 |
commit | 0225e80061af6f4cac590c4fafc925050319d6e2 (patch) | |
tree | d1fbe859fac03014f601aea009cb1ebf5dbda697 /src/soc/qualcomm/common/include | |
parent | de2e716856485189cc995ac94169ce7d46ee3aa1 (diff) |
qualcomm/common: Pass FMAX_LIMIT flag for Lazor board to QcLib
This patch passes a hint flag to QcLib on Lazor boards to tell it to
limit the DDR frequency for certain memory parts (8GB Hynix) to work
around a board-specific stability issue.
BRANCH=trogdor
BUG=b:267387867
TEST=Validated on qualcomm sc7180 development board
Change-Id: I45915cf93d2a57ff0c9710f2ac36dfb665eff1c6
Signed-off-by: Sudheer Kumar Amrabadi <samrabad@codeaurora.org>
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/73727
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Shelley Chen <shchen@google.com>
Diffstat (limited to 'src/soc/qualcomm/common/include')
-rw-r--r-- | src/soc/qualcomm/common/include/soc/qclib_common.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/soc/qualcomm/common/include/soc/qclib_common.h b/src/soc/qualcomm/common/include/soc/qclib_common.h index 19966e27a3..792b743f40 100644 --- a/src/soc/qualcomm/common/include/soc/qclib_common.h +++ b/src/soc/qualcomm/common/include/soc/qclib_common.h @@ -45,6 +45,7 @@ struct qclib_cb_if_table_entry { /* GA_BMASK_VALUES (global_attributes bit mask values) */ #define QCLIB_GA_ENABLE_UART_LOGGING 0x00000001 #define QCLIB_GA_FORCE_COLD_REBOOT BIT(3) +#define QCLIB_GA_DDR_FMAX_LIMIT_HYNIX8GB BIT(5) #define QCLIB_INTERFACE_VERSION 0x00000001 #define QCLIB_MAX_NUMBER_OF_ENTRIES 16 @@ -67,7 +68,7 @@ extern struct qclib_cb_if_table qclib_cb_if_table; void qclib_add_if_table_entry(const char *name, void *base, uint32_t size, uint32_t attrs); void qclib_load_and_run(void); -int qclib_soc_blob_load(void); +int qclib_soc_override(struct qclib_cb_if_table *table); const char *qclib_file_default(enum qclib_cbfs_file file); const char *qclib_file(enum qclib_cbfs_file file); |