summaryrefslogtreecommitdiff
path: root/board/cr50/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/cr50/board.c')
-rw-r--r--board/cr50/board.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/board/cr50/board.c b/board/cr50/board.c
index 008e9372b0..bc2df48a84 100644
--- a/board/cr50/board.c
+++ b/board/cr50/board.c
@@ -15,8 +15,6 @@
#include "init_chip.h"
#include "registers.h"
#include "nvmem.h"
-#include "rbox.h"
-#include "spi.h"
#include "system.h"
#include "task.h"
#include "trng.h"
@@ -24,6 +22,7 @@
#include "usb_descriptor.h"
#include "usb_hid.h"
#include "util.h"
+#include "spi.h"
#include "usb_spi.h"
/* Define interrupt and gpio structs */
@@ -276,7 +275,7 @@ void sys_rst_asserted(enum gpio_signal signal)
* asserting this signal should not cause a system reset.
*/
CPRINTS("%s resceived signal %d)", __func__, signal);
- if (usb_spi_update_in_progress() || rbox_is_asserting_ec_reset())
+ if (usb_spi_update_in_progress())
return;
cflush();