summaryrefslogtreecommitdiff
path: root/board/discovery/board.h
diff options
context:
space:
mode:
Diffstat (limited to 'board/discovery/board.h')
-rw-r--r--board/discovery/board.h62
1 files changed, 0 insertions, 62 deletions
diff --git a/board/discovery/board.h b/board/discovery/board.h
deleted file mode 100644
index 5b63e80abc..0000000000
--- a/board/discovery/board.h
+++ /dev/null
@@ -1,62 +0,0 @@
-/* Copyright (c) 2012 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.
- */
-
-/* STM32L Discovery board configuration */
-
-#ifndef __BOARD_H
-#define __BOARD_H
-
-/* 16 MHz SYSCLK clock frequency */
-#define CPU_CLOCK 16000000
-
-/* Use USART3 as console serial port */
-#define CONFIG_CONSOLE_UART 1
-
-#define USB_CHARGE_PORT_COUNT 0
-
-/* Host connects to keyboard controller module via I2C */
-#define HOST_KB_BUS_I2C
-
-/* GPIO signal list */
-enum gpio_signal {
- /* Inputs with interrupt handlers are first for efficiency */
- GPIO_USER_BUTTON = 0, /* Blue user button */
- /* Keyboard inputs */
- GPIO_KB_IN00,
- GPIO_KB_IN01,
- GPIO_KB_IN02,
- GPIO_KB_IN03,
- GPIO_KB_IN04,
- GPIO_KB_IN05,
- GPIO_KB_IN06,
- GPIO_KB_IN07,
- /* Other inputs */
- /* Outputs */
- GPIO_BLUE_LED, /* Blue debug LED */
- GPIO_GREEN_LED, /* Green debug LED */
- /* Keyboard outputs */
- GPIO_KB_OUT00,
- GPIO_KB_OUT01,
- GPIO_KB_OUT02,
- GPIO_KB_OUT03,
- GPIO_KB_OUT04,
- GPIO_KB_OUT05,
- GPIO_KB_OUT06,
- GPIO_KB_OUT07,
- GPIO_KB_OUT08,
- GPIO_KB_OUT09,
- GPIO_KB_OUT10,
- GPIO_KB_OUT11,
- GPIO_KB_OUT12,
-
- /* Number of GPIOs; not an actual GPIO */
- GPIO_COUNT
-};
-
-void configure_board(void);
-
-void matrix_interrupt(enum gpio_signal signal);
-
-#endif /* __BOARD_H */