diff options
author | Vladimir Serbinenko <phcoder@gmail.com> | 2015-05-30 22:47:22 +0200 |
---|---|---|
committer | Vladimir Serbinenko <phcoder@gmail.com> | 2015-10-11 15:30:55 +0000 |
commit | 1e161429973e10d467eee7f6d1d3def852ba7d2b (patch) | |
tree | ad5bd99e7fe6ac2565611cdd0a00b5affce2ed38 /src | |
parent | d73745178b6215f7c012ffa59bbebe9404e706ac (diff) |
Kconfig: Hide BOARD_ID_MANUAL.
board_id() returns an integer which is platform-specific. 0 for one port
is different from 0 for another port. So there is no default board_id()
and hence enabling it on boards other than urara would cause build failure.
Not enabling it on urara or just setting id to "(none)" as is default results
in board_id() = 0 which means urara and an error message on console.
Change-Id: I94618f36a75e7505984bbec345a31fe0fa9cc867
Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
Reviewed-on: http://review.coreboot.org/10379
Tested-by: build bot (Jenkins)
Reviewed-by: Marc Jones <marc@marcjonesconsulting.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/Kconfig | 2 | ||||
-rw-r--r-- | src/mainboard/google/urara/Kconfig | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/Kconfig b/src/Kconfig index bab05f286a..9ac6ec6905 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -302,7 +302,7 @@ config BOARD_ID_AUTO (ie. GPIO) select this configuration option. config BOARD_ID_MANUAL - bool "Add board ID file to CBFS" + bool default n depends on !BOARD_ID_AUTO help diff --git a/src/mainboard/google/urara/Kconfig b/src/mainboard/google/urara/Kconfig index a43d84e720..eb7e09fcb8 100644 --- a/src/mainboard/google/urara/Kconfig +++ b/src/mainboard/google/urara/Kconfig @@ -29,6 +29,7 @@ config BOARD_SPECIFIC_OPTIONS select CPU_IMGTEC_PISTACHIO select COMMON_CBFS_SPI_WRAPPER select SPI_FLASH + select BOARD_ID_MANUAL config MAINBOARD_DIR string |