blob: 7edf3643eff466f6f7df86add8e074a09a61aff8 [file] [log] [blame]
Mariusz Szafranskifaf7a8e2017-08-02 18:51:47 +02001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2015 - 2017 Intel Corporation.
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.
14 *
15 */
16
17#include <console/console.h>
18
19#include "harcuvar_boardid.h"
20
21uint8_t board_id(void)
22{
23 int id = BoardIdHarcuvar;
24
25 printk(BIOS_SPEW, "Board ID: %#x.\n", id);
26
27 return id;
28}