diff options
author | Jett Rink <jettrink@chromium.org> | 2018-03-19 15:45:31 -0600 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-03-22 18:16:47 -0700 |
commit | 7742e06e45db3d12450b193cedacdc1171fbf85b (patch) | |
tree | 098f977a32abe3e1bd242a5f807032ccf87fbf75 /board/bip/board.h | |
parent | 9304e2ac012e1cba92e697bfd36428146d4528c7 (diff) | |
download | chrome-ec-7742e06e45db3d12450b193cedacdc1171fbf85b.tar.gz |
bip: initial add of bip skeleton
BRANCH=none
BUG=b:75972988
TEST=build all
Change-Id: Ibfadaee3b9584a7e2c87f6f607be4cba20f338b7
Signed-off-by: Jett Rink <jettrink@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/972142
Reviewed-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Justin TerAvest <teravest@chromium.org>
Diffstat (limited to 'board/bip/board.h')
-rw-r--r-- | board/bip/board.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/board/bip/board.h b/board/bip/board.h new file mode 100644 index 0000000000..db7b5ba5ed --- /dev/null +++ b/board/bip/board.h @@ -0,0 +1,36 @@ +/* Copyright 2018 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. + */ + +/* Bip board configuration */ + +#ifndef __CROS_EC_BOARD_H +#define __CROS_EC_BOARD_H + +/* Optional features */ +#define CONFIG_SYSTEM_UNLOCKED /* Allow dangerous commands while in dev. */ + +#define CONFIG_POWER_BUTTON +#define CONFIG_KEYBOARD_BOARD_CONFIG +#define CONFIG_KEYBOARD_PROTOCOL_8042 +#define CONFIG_LOW_POWER_IDLE + +#ifndef __ASSEMBLER__ + +#include "gpio_signal.h" +#include "registers.h" + +/* TODO(b/75972988): Fill out correctly */ +enum adc_channel { + ADC_CH_COUNT +}; + +/* TODO(b/75972988): Fill out correctly */ +enum pwm_channel { + PWM_CH_COUNT +}; + +#endif /* !__ASSEMBLER__ */ + +#endif /* __CROS_EC_BOARD_H */ |