blob: 1ac5ee133774e7c798bb22ae6a0eb9c6421f23ed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/* 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.
*/
#ifndef __CROS_EC_BOARD_REVS_H
#define __CROS_EC_BOARD_REVS_H
#define POMPOM_REV0 0
#define POMPOM_REV1 1
#define POMPOM_REV_LAST POMPOM_REV1
#define POMPOM_REV_DEFAULT POMPOM_REV1
#if !defined(BOARD_REV)
#define BOARD_REV POMPOM_REV_DEFAULT
#endif
#if BOARD_REV < POMPOM_REV0 || BOARD_REV > POMPOM_REV_LAST
#error "Board revision out of range"
#endif
#endif /* __CROS_EC_BOARD_REVS_H */
|