mturney mturney has uploaded this change for review.

View Change

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)

To view, visit change 37482. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Id36ff5f81adb495ad762ce74e224add03520260d
Gerrit-Change-Number: 37482
Gerrit-PatchSet: 1
Gerrit-Owner: mturney mturney <mturney@codeaurora.org>
Gerrit-MessageType: newchange