summaryrefslogtreecommitdiff
path: root/board/nocturne_fp/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/nocturne_fp/board.c')
-rw-r--r--board/nocturne_fp/board.c37
1 files changed, 0 insertions, 37 deletions
diff --git a/board/nocturne_fp/board.c b/board/nocturne_fp/board.c
deleted file mode 100644
index 819c1c53e0..0000000000
--- a/board/nocturne_fp/board.c
+++ /dev/null
@@ -1,37 +0,0 @@
-/* Copyright 2017 The Chromium OS Authors. All rights reserved.
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-/* Meowth Fingerprint MCU configuration */
-
-#include "common.h"
-#include "hooks.h"
-#include "registers.h"
-#include "spi.h"
-#include "system.h"
-#include "task.h"
-
-/**
- * Disable restricted commands when the system is locked.
- *
- * @see console.h system.c
- */
-int console_is_restricted(void)
-{
- return system_is_locked();
-}
-
-#include "gpio_list.h"
-
-/* Initialize board. */
-static void board_init(void)
-{
- if (IS_ENABLED(SECTION_IS_RW)) {
- board_init_rw();
- } else {
- /* No suspend-based power management in RO. */
- disable_sleep(SLEEP_MASK_AP_RUN);
- hook_notify(HOOK_CHIPSET_RESUME);
- }
-}
-DECLARE_HOOK(HOOK_INIT, board_init, HOOK_PRIO_DEFAULT);