mturney mturney has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/37482 )
Change subject: trogdor: fix EC/SPI communication after qclib ......................................................................
trogdor: fix EC/SPI communication after qclib
Change-Id: Id36ff5f81adb495ad762ce74e224add03520260d Signed-off-by: T Michael Turney mturney@codeaurora.org --- M src/mainboard/google/trogdor/mainboard.c 1 file changed, 5 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/82/37482/1
diff --git a/src/mainboard/google/trogdor/mainboard.c b/src/mainboard/google/trogdor/mainboard.c index 8849911..6b79004 100644 --- a/src/mainboard/google/trogdor/mainboard.c +++ b/src/mainboard/google/trogdor/mainboard.c @@ -20,6 +20,8 @@ #include <timestamp.h> #include <soc/usb.h> #include <soc/qupv3_fw_config.h> +#include <soc/qcom_qup_se.h> +#include <soc/spi_qup_qcom.h>
static struct usb_board_data usb0_board_data = { .pll_bias_control_2 = 0x22, @@ -36,6 +38,9 @@ { setup_usb(); qupv3_fw_init(); + qup_spi_init(QUPV3_0_SE0, 1010 * KHz); /* EC SPI */ + qup_spi_init(QUPV3_1_SE0, 1010 * KHz); /* H1 SPI */ + }
static void mainboard_enable(struct device *dev)
Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/37482 )
Change subject: trogdor: fix EC/SPI communication after qclib ......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/c/coreboot/+/37482/1//COMMIT_MSG Commit Message:
https://review.coreboot.org/c/coreboot/+/37482/1//COMMIT_MSG@8 PS1, Line 8: What is the problem?
Julius Werner has abandoned this change. ( https://review.coreboot.org/c/coreboot/+/37482 )
Change subject: trogdor: fix EC/SPI communication after qclib ......................................................................
Abandoned
This was a temporary workaround that is no longer needed.