summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--board/cr50/board.c8
-rw-r--r--board/cr50/board.h3
2 files changed, 0 insertions, 11 deletions
diff --git a/board/cr50/board.c b/board/cr50/board.c
index 7770474904..a9c97e4fd5 100644
--- a/board/cr50/board.c
+++ b/board/cr50/board.c
@@ -97,14 +97,6 @@ static void board_init(void)
init_interrupts();
init_trng();
init_runlevel(PERMISSION_MEDIUM);
-
- /*
- * SPS is hardwired, all we need to do is enable input mode on the
- * appropriate pins.
- */
- GWRITE_FIELD(PINMUX, DIOA2_CTL, IE, 1); /* MOSI */
- GWRITE_FIELD(PINMUX, DIOA6_CTL, IE, 1); /* CLK */
- GWRITE_FIELD(PINMUX, DIOA12_CTL, IE, 1); /* CS */
}
DECLARE_HOOK(HOOK_INIT, board_init, HOOK_PRIO_DEFAULT);
diff --git a/board/cr50/board.h b/board/cr50/board.h
index 0906927361..730d39dd6a 100644
--- a/board/cr50/board.h
+++ b/board/cr50/board.h
@@ -58,9 +58,6 @@
#include "gpio_signal.h"
-/* user button interrupt handler */
-void button_event(enum gpio_signal signal);
-
/* USB string indexes */
enum usb_strings {
USB_STR_DESC = 0,