blob: 6bb2c18f66dbdf0bf312d89c719efcef43964c52 [file] [log] [blame]
Furquan Shaikh84bbab92014-06-24 17:38:03 -07001/*
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 Shaikh84bbab92014-06-24 17:38:03 -070014 */
15
Vadim Bendeburyf9fb0d92014-07-23 18:32:01 -070016#ifndef __INCLUDE_BOARDID_H__
17#define __INCLUDE_BOARDID_H__
Furquan Shaikh84bbab92014-06-24 17:38:03 -070018
19#include <stdint.h>
20
Ionela Voinescu2fdc61a2015-03-09 15:31:38 +000021struct board_hw {
22 uint8_t i2c_interface;
23};
24
25const struct board_hw *board_get_hw(void);
Furquan Shaikh84bbab92014-06-24 17:38:03 -070026uint8_t board_id(void);
David Hendricks627b3bd2014-11-03 17:42:09 -080027uint32_t ram_code(void);
Furquan Shaikh84bbab92014-06-24 17:38:03 -070028
Vadim Bendeburyf9fb0d92014-07-23 18:32:01 -070029#endif /* __INCLUDE_BOARDID_H__ */