Kconfig: Remove BOARD_ID_MANUAL option
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>
This commit is contained in:
@@ -24,7 +24,6 @@ config BOARD_SPECIFIC_OPTIONS
|
||||
select CPU_IMGTEC_PISTACHIO
|
||||
select COMMON_CBFS_SPI_WRAPPER
|
||||
select SPI_FLASH
|
||||
select BOARD_ID_MANUAL
|
||||
|
||||
config MAINBOARD_DIR
|
||||
string
|
||||
|
@@ -20,6 +20,8 @@
|
||||
#include <assert.h>
|
||||
#include <boardid.h>
|
||||
|
||||
#include "urara_boardid.h"
|
||||
|
||||
#define PADS_FUNCTION_SELECT0_ADDR (0xB8101C00 + 0xC0)
|
||||
|
||||
#define GPIO_BIT_EN_ADDR(bank) (0xB8101C00 + 0x200 + (0x24 * (bank)))
|
||||
|
@@ -27,4 +27,10 @@
|
||||
#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
|
||||
|
Reference in New Issue
Block a user