Shelley Chen has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/63192 )
Change subject: soc/qualcomm/sc7280: Override SPI gpios drive strength ......................................................................
soc/qualcomm/sc7280: Override SPI gpios drive strength
BUG=b:198627043 BRANCH=None TEST=Create a binary and EE helped verify
Change-Id: Ic887a7eef74f1063f7284db042c5fbd2e1d5bd4c Signed-off-by: Shelley Chen shchen@google.com --- M src/soc/qualcomm/sc7280/bootblock.c 1 file changed, 11 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/92/63192/1
diff --git a/src/soc/qualcomm/sc7280/bootblock.c b/src/soc/qualcomm/sc7280/bootblock.c index 365b7d4..4d056c3 100644 --- a/src/soc/qualcomm/sc7280/bootblock.c +++ b/src/soc/qualcomm/sc7280/bootblock.c @@ -5,9 +5,20 @@ #include <soc/qspi_common.h> #include <soc/qupv3_config_common.h>
+static void sc7280_override_gpios(void) +{ + gpio_configure(QSPI_DATA_0, GPIO_FUNC_QSPI_DATA_0, + GPIO_NO_PULL, GPIO_8MA, GPIO_OUTPUT); + + gpio_configure(QSPI_DATA_1, GPIO_FUNC_QSPI_DATA_1, + GPIO_NO_PULL, GPIO_8MA, GPIO_OUTPUT); + +} + void bootblock_soc_init(void) { clock_init(); quadspi_init(37500 * KHz); + sc7280_override_gpios(); qupv3_fw_init(); }