diff options
author | Vincent Palatin <vpalatin@chromium.org> | 2012-01-26 01:09:48 +0000 |
---|---|---|
committer | Vincent Palatin <vpalatin@chromium.org> | 2012-01-26 16:50:55 -0800 |
commit | 414499778d790c249ebb77dee71704616cc461d9 (patch) | |
tree | 04156daebe30044d68a6041a653322d26d77a030 /board/discovery/board.h | |
parent | 36050a30d58f1b61410bff5ce07d43d4bf075216 (diff) | |
download | chrome-ec-414499778d790c249ebb77dee71704616cc461d9.tar.gz |
add the skeleton for STM32L chip and discovery board
All hardware drivers code is stubbed excepted a few configuration
settings.
Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
BUG=None
TEST=make BOARD=discovery
Change-Id: Ic9e88a0f51ab626679c8aeb6192272e66a3f79b8
Diffstat (limited to 'board/discovery/board.h')
-rw-r--r-- | board/discovery/board.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/board/discovery/board.h b/board/discovery/board.h new file mode 100644 index 0000000000..3e4ea80d12 --- /dev/null +++ b/board/discovery/board.h @@ -0,0 +1,24 @@ +/* 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 + +#define USB_CHARGE_PORT_COUNT 0 + +/* GPIO signal list */ +enum gpio_signal { + GPIO_DUMMY0 = 0, /* Dummy GPIO */ + GPIO_DUMMY1, + + /* Number of GPIOs; not an actual GPIO */ + GPIO_COUNT +}; + +void configure_board(void); + +#endif /* __BOARD_H */ |