ec477346bf
The BOARD_ID_MANUAL and BOARD_ID_STRING options were introduced for the Urara board which is now long dead, and have never been used anywhere else. They were trying to do something that we usually handle with a separate SKU ID these days, whereas BOARD_ID is supposed to be reserved for different revisions of the same board/SKU. Get rid of it to make further refactoring of other options easier. Also shove some stuff back into the Urara mainboard that should've never crept into generic headers. Change-Id: I4e7018066eadb38bced96d8eca2ffd4f0dd17110 Signed-off-by: Julius Werner <jwerner@chromium.org> Reviewed-on: https://review.coreboot.org/22694 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
36 lines
1.1 KiB
C
36 lines
1.1 KiB
C
/*
|
|
* This file is part of the coreboot project.
|
|
*
|
|
* Copyright (C) 2015 Google, Inc.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; version 2 of the License.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*/
|
|
|
|
#ifndef __MAINBOARD_GOOGLE_URARA_URARA_BOARDID_H__
|
|
#define __MAINBOARD_GOOGLE_URARA_URARA_BOARDID_H__
|
|
|
|
/*
|
|
* List of URARA derivatives board ID defintions. They are stored in uint8_t
|
|
* across the code, using #defines here not to imply any specific size.
|
|
*/
|
|
#define URARA_BOARD_ID_BUB 0
|
|
#define URARA_BOARD_ID_BURANKU 1
|
|
#define URARA_BOARD_ID_DERWENT 2
|
|
#define URARA_BOARD_ID_JAGUAR 3
|
|
#define URARA_BOARD_ID_KENNET 4
|
|
#define URARA_BOARD_ID_SPACE 5
|
|
|
|
struct board_hw {
|
|
uint8_t i2c_interface;
|
|
};
|
|
|
|
const struct board_hw *board_get_hw(void);
|
|
|
|
#endif
|