summaryrefslogtreecommitdiff
path: root/common/main.c
diff options
context:
space:
mode:
authorShawn Nematbakhsh <shawnn@chromium.org>2017-09-07 14:28:27 -0700
committerchrome-bot <chrome-bot@chromium.org>2017-09-11 11:14:24 -0700
commitf67f1a9b7874824e3744ef173ba76135440b328d (patch)
tree96df13d9a68abeac4f9774ebb4091c2b6a4143b9 /common/main.c
parentdde1a514de4cc5a570db6a3cff4f43396e8c90f4 (diff)
downloadchrome-ec-f67f1a9b7874824e3744ef173ba76135440b328d.tar.gz
cleanup: Remove 'ryu' board
Remove 'ryu' and related ryu-only code. BUG=None TEST=`make buildall -j` BRANCH=None Change-Id: I19b966ea6964a7ed083724f7de80ae192235a406 Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/656314 Commit-Ready: Shawn N <shawnn@chromium.org> Tested-by: Shawn N <shawnn@chromium.org> Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'common/main.c')
-rw-r--r--common/main.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/common/main.c b/common/main.c
index 95ef89f798..e4cf2e01c7 100644
--- a/common/main.c
+++ b/common/main.c
@@ -89,16 +89,6 @@ test_mockable __keep int main(void)
flash_pre_init();
#endif
-#if defined(CONFIG_CASE_CLOSED_DEBUG) && defined(CONFIG_USB_POWER_DELIVERY)
- /*
- * If the device is locked we assert PD_NO_DEBUG, preventing the EC
- * from interfering with the AP's access to the SPI flash.
- * The PD_NO_DEBUG signal is latched in hardware, so changing this
- * GPIO later has no effect.
- */
- gpio_set_level(GPIO_PD_DISABLE_DEBUG, system_is_locked());
-#endif
-
/* Set the CPU clocks / PLLs. System is now running at full speed. */
clock_init();