mturney mturney has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/37796 )
Change subject: HACK trogdor: handle QCLib issue that breaks qup fw HACK ......................................................................
HACK trogdor: handle QCLib issue that breaks qup fw HACK
Change-Id: Id3bbcfef7c41609e26435697227617fbe5989f3e Signed-off-by: T Michael Turney mturney@codeaurora.org --- M src/soc/qualcomm/sc7180/qclib.c 1 file changed, 9 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/96/37796/1
diff --git a/src/soc/qualcomm/sc7180/qclib.c b/src/soc/qualcomm/sc7180/qclib.c index 9c05452..c7a1412 100644 --- a/src/soc/qualcomm/sc7180/qclib.c +++ b/src/soc/qualcomm/sc7180/qclib.c @@ -18,6 +18,15 @@ #include <console/console.h> #include <soc/symbols.h> #include <soc/qclib_common.h> +#include <soc/qcom_qup_se.h> +#include <soc/qupv3_spi.h> + +int qclib_post_fixup(void) +{ + qup_spi_init(QUPV3_0_SE0, 1010 * KHz); /* EC SPI */ + qup_spi_init(QUPV3_1_SE0, 1010 * KHz); /* H1 SPI */ + return 0; +}
int qclib_soc_blob_load(void) {