From bdb67fe489b7cbea7a26492fa0536ca452434052 Mon Sep 17 00:00:00 2001 From: David Hendricks Date: Sat, 27 Sep 2014 20:10:41 -0700 Subject: [PATCH] pinky: Force delay for EC SPI transfers This gives the EC some time to wake-up between asserting /CS and starting a transfer. BUG=chrome-os-partner:32223 BRANCH=none TEST=verified ~100us delay using logic analyzer on Pinky Change-Id: I9874e65abd405874c43c594d8caeeff9e1300455 Signed-off-by: David Hendricks Reviewed-on: https://chromium-review.googlesource.com/220243 Reviewed-by: Julius Werner Reviewed-by: Alexandru Stan Commit-Queue: Alexandru Stan Tested-by: Alexandru Stan --- src/mainboard/google/veyron_pinky/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mainboard/google/veyron_pinky/Kconfig b/src/mainboard/google/veyron_pinky/Kconfig index 537ed6061a..94050e7f1e 100644 --- a/src/mainboard/google/veyron_pinky/Kconfig +++ b/src/mainboard/google/veyron_pinky/Kconfig @@ -48,6 +48,10 @@ config EC_GOOGLE_CHROMEEC_SPI_BUS hex default 0 +config EC_GOOGLE_CHROMEEC_SPI_WAKEUP_DELAY_US + int + default 100 + config VBOOT_RAMSTAGE_INDEX hex default 0x3