Enable publishing of board ID where supported
These boards are supposed to be able to determine the board ID at run time based on GPIO settings. BUG=chrome-os-partner:30489 TEST=verified that all boards build. Checked that storm proto0 reports board ID of 0 on the console Original-Change-Id: Iadd758a799d69e1e34579d7d495378856b64c45b Original-Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Original-Reviewed-on: https://chromium-review.googlesource.com/210119 (cherry picked from commit f4d41ddf906c1bf0d10da38011998fa0a630c332) Signed-off-by: Marc Jones <marc.jones@se-eng.com> Change-Id: I0d5f94d3428157a70f0a9d711b57432e3f796733 Reviewed-on: http://review.coreboot.org/8722 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
parent
81678809d5
commit
052b7fec07
|
@ -1133,6 +1133,7 @@ config BOARD_ID_SUPPORT
|
||||||
config TERTIARY_BOARD_ID
|
config TERTIARY_BOARD_ID
|
||||||
bool "Interpret board ID GPIOs as tertiary inputs"
|
bool "Interpret board ID GPIOs as tertiary inputs"
|
||||||
default n
|
default n
|
||||||
|
depends on BOARD_ID_SUPPORT
|
||||||
help
|
help
|
||||||
Consider each GPIO as being in one of three states: pulled down (0),
|
Consider each GPIO as being in one of three states: pulled down (0),
|
||||||
pulled up (1), or not connected (2)
|
pulled up (1), or not connected (2)
|
||||||
|
|
|
@ -22,6 +22,7 @@ if BOARD_GOOGLE_NYAN_BIG
|
||||||
config BOARD_SPECIFIC_OPTIONS # dummy
|
config BOARD_SPECIFIC_OPTIONS # dummy
|
||||||
def_bool y
|
def_bool y
|
||||||
select SOC_NVIDIA_TEGRA124
|
select SOC_NVIDIA_TEGRA124
|
||||||
|
select BOARD_ID_SUPPORT
|
||||||
select MAINBOARD_HAS_CHROMEOS
|
select MAINBOARD_HAS_CHROMEOS
|
||||||
select EC_GOOGLE_CHROMEEC
|
select EC_GOOGLE_CHROMEEC
|
||||||
select EC_GOOGLE_CHROMEEC_SPI
|
select EC_GOOGLE_CHROMEEC_SPI
|
||||||
|
@ -33,6 +34,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
||||||
select SPI_FLASH
|
select SPI_FLASH
|
||||||
select SPI_FLASH_FAST_READ_DUAL_OUTPUT_3B
|
select SPI_FLASH_FAST_READ_DUAL_OUTPUT_3B
|
||||||
select VIRTUAL_DEV_SWITCH
|
select VIRTUAL_DEV_SWITCH
|
||||||
|
select TERTIARY_BOARD_ID
|
||||||
|
|
||||||
config MAINBOARD_DIR
|
config MAINBOARD_DIR
|
||||||
string
|
string
|
||||||
|
|
|
@ -22,6 +22,7 @@ if BOARD_GOOGLE_NYAN_BLAZE
|
||||||
config BOARD_SPECIFIC_OPTIONS # dummy
|
config BOARD_SPECIFIC_OPTIONS # dummy
|
||||||
def_bool y
|
def_bool y
|
||||||
select ARCH_ARM
|
select ARCH_ARM
|
||||||
|
select BOARD_ID_SUPPORT
|
||||||
select CHROMEOS
|
select CHROMEOS
|
||||||
select EC_GOOGLE_CHROMEEC
|
select EC_GOOGLE_CHROMEEC
|
||||||
select EC_GOOGLE_CHROMEEC_SPI
|
select EC_GOOGLE_CHROMEEC_SPI
|
||||||
|
@ -33,6 +34,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
||||||
select BOARD_ROMSIZE_KB_1024
|
select BOARD_ROMSIZE_KB_1024
|
||||||
select SPI_FLASH
|
select SPI_FLASH
|
||||||
select SPI_FLASH_FAST_READ_DUAL_OUTPUT_3B
|
select SPI_FLASH_FAST_READ_DUAL_OUTPUT_3B
|
||||||
|
select TERTIARY_BOARD_ID
|
||||||
select VIRTUAL_DEV_SWITCH
|
select VIRTUAL_DEV_SWITCH
|
||||||
|
|
||||||
config MAINBOARD_DIR
|
config MAINBOARD_DIR
|
||||||
|
|
|
@ -21,6 +21,7 @@ if BOARD_GOOGLE_RUSH
|
||||||
|
|
||||||
config BOARD_SPECIFIC_OPTIONS # dummy
|
config BOARD_SPECIFIC_OPTIONS # dummy
|
||||||
def_bool y
|
def_bool y
|
||||||
|
select BOARD_ID_SUPPORT
|
||||||
select CHROMEOS
|
select CHROMEOS
|
||||||
select SOC_NVIDIA_TEGRA132
|
select SOC_NVIDIA_TEGRA132
|
||||||
select MAINBOARD_HAS_BOOTBLOCK_INIT
|
select MAINBOARD_HAS_BOOTBLOCK_INIT
|
||||||
|
|
|
@ -21,6 +21,7 @@ if BOARD_GOOGLE_RUSH_RYU
|
||||||
|
|
||||||
config BOARD_SPECIFIC_OPTIONS # dummy
|
config BOARD_SPECIFIC_OPTIONS # dummy
|
||||||
def_bool y
|
def_bool y
|
||||||
|
select BOARD_ID_SUPPORT
|
||||||
select SOC_NVIDIA_TEGRA132
|
select SOC_NVIDIA_TEGRA132
|
||||||
select MAINBOARD_HAS_BOOTBLOCK_INIT
|
select MAINBOARD_HAS_BOOTBLOCK_INIT
|
||||||
select BOARD_ROMSIZE_KB_4096
|
select BOARD_ROMSIZE_KB_4096
|
||||||
|
|
|
@ -22,11 +22,13 @@ if BOARD_GOOGLE_STORM
|
||||||
config BOARD_SPECIFIC_OPTIONS
|
config BOARD_SPECIFIC_OPTIONS
|
||||||
def_bool y
|
def_bool y
|
||||||
select SOC_QC_IPQ806X
|
select SOC_QC_IPQ806X
|
||||||
|
select BOARD_ID_SUPPORT
|
||||||
select BOARD_ROMSIZE_KB_4096
|
select BOARD_ROMSIZE_KB_4096
|
||||||
select COMMON_CBFS_SPI_WRAPPER
|
select COMMON_CBFS_SPI_WRAPPER
|
||||||
select MAINBOARD_HAS_BOOTBLOCK_INIT
|
select MAINBOARD_HAS_BOOTBLOCK_INIT
|
||||||
select SPI_FLASH
|
select SPI_FLASH
|
||||||
select SPI_FLASH_SPANSION
|
select SPI_FLASH_SPANSION
|
||||||
|
select TERTIARY_BOARD_ID
|
||||||
|
|
||||||
config BOARD_VARIANT_AP148
|
config BOARD_VARIANT_AP148
|
||||||
bool "pick this to build an image for ap148"
|
bool "pick this to build an image for ap148"
|
||||||
|
|
Loading…
Reference in New Issue