Furquan Shaikh | 84bbab9 | 2014-06-24 17:38:03 -0700 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * Copyright 2014 Google Inc. |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License as published by |
| 8 | * the Free Software Foundation; version 2 of the License. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
Furquan Shaikh | 84bbab9 | 2014-06-24 17:38:03 -0700 | [diff] [blame] | 14 | */ |
| 15 | |
Vadim Bendebury | f9fb0d9 | 2014-07-23 18:32:01 -0700 | [diff] [blame] | 16 | #ifndef __INCLUDE_BOARDID_H__ |
| 17 | #define __INCLUDE_BOARDID_H__ |
Furquan Shaikh | 84bbab9 | 2014-06-24 17:38:03 -0700 | [diff] [blame] | 18 | |
| 19 | #include <stdint.h> |
| 20 | |
Ionela Voinescu | 2fdc61a | 2015-03-09 15:31:38 +0000 | [diff] [blame] | 21 | struct board_hw { |
| 22 | uint8_t i2c_interface; |
| 23 | }; |
| 24 | |
| 25 | const struct board_hw *board_get_hw(void); |
Furquan Shaikh | 84bbab9 | 2014-06-24 17:38:03 -0700 | [diff] [blame] | 26 | uint8_t board_id(void); |
David Hendricks | 627b3bd | 2014-11-03 17:42:09 -0800 | [diff] [blame] | 27 | uint32_t ram_code(void); |
Furquan Shaikh | 84bbab9 | 2014-06-24 17:38:03 -0700 | [diff] [blame] | 28 | |
Vadim Bendebury | f9fb0d9 | 2014-07-23 18:32:01 -0700 | [diff] [blame] | 29 | #endif /* __INCLUDE_BOARDID_H__ */ |