summaryrefslogtreecommitdiff
path: root/board/brya/board.h
blob: 2c178f80e6515083f595209458090d833b1aaa5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/* Copyright 2020 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.
 */

/* Brya board configuration */

#ifndef __CROS_EC_BOARD_H
#define __CROS_EC_BOARD_H

/* Baseboard features */
#include "baseboard.h"

#ifndef __ASSEMBLER__

#include "gpio_signal.h"	/* must precede gpio.h */

#endif /* !__ASSEMBLER__ */

/*
 * Disable features enabled by default.
 */
#undef CONFIG_ADC
#undef CONFIG_LID_SWITCH
#undef CONFIG_HIBERNATE
#undef CONFIG_SPI_FLASH
#undef CONFIG_SWITCH

#define GPIO_WP_L		GPIO_FAKE_IRQ_00
#define GPIO_ENTERING_RW	GPIO_FAKE_OUT_01

#ifndef __ASSEMBLER__

enum battery_type {
	BATTERY_POWER_TECH,
	BATTERY_LGC011,
	BATTERY_TYPE_COUNT
};

#endif /* !__ASSEMBLER__ */

#endif /* __CROS_EC_BOARD_H */