soc: select generic gpio lib on (almost) all non-x86 SOCs
BOARD_ID functionality is not what requires the GPIO lib, but it is the mainboard specific implementations that do. The option essentially says whether the SoC provides <soc/gpio.h> (with the interface required by the common GPIO code). Right now, x86 and Samsung's Exynos SOCs don't have support for this interface. So this should be selected by the SOC, not by BOARD_ID_SUPPORT. Signed-off-by: Stefan Reinauer <reinauer@chromium.org> BUG=none BRANCH=none TEST=emerge-storm coreboot still successfully compiled an image Reviewed-on: https://chromium-review.googlesource.com/262743 Reviewed-by: Vadim Bendebury <vbendeb@chromium.org> Tested-by: Stefan Reinauer <reinauer@chromium.org> Commit-Queue: Stefan Reinauer <reinauer@chromium.org> Reviewed-by: David Hendricks <dhendrix@chromium.org> Change-Id: I3dea6c2fb42a23fcb9d384c3bbfa7fc8e217be2d Reviewed-on: https://chromium-review.googlesource.com/284084 Tested-by: David Hendricks <dhendrix@chromium.org> Commit-Queue: David Hendricks <dhendrix@chromium.org>
This commit is contained in:
parent
db666fed38
commit
d19291eb08
6 changed files with 9 additions and 0 deletions
|
|
@ -29,6 +29,7 @@ config CPU_IMGTEC_PISTACHIO
|
|||
select HAVE_UART_MEMORY_MAPPED
|
||||
select HAVE_UART_SPECIAL
|
||||
select SPI_ATOMIC_SEQUENCING
|
||||
select GENERIC_GPIO_LIB
|
||||
bool
|
||||
|
||||
if CPU_IMGTEC_PISTACHIO
|
||||
|
|
|
|||
|
|
@ -32,6 +32,10 @@ config SOC_MARVELL_BG4CD
|
|||
select HAVE_MONOTONIC_TIMER
|
||||
select HAVE_UART_MEMORY_MAPPED
|
||||
select HAVE_UART_SPECIAL
|
||||
select GENERIC_GPIO_LIB
|
||||
# RETURN_FROM_VERSTAGE is disabled because vboot2_verify_firmware is
|
||||
# part of bootblock, so, verstage is called as a function instead of
|
||||
# as a stage
|
||||
|
||||
if SOC_MARVELL_BG4CD
|
||||
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ config SOC_NVIDIA_TEGRA124
|
|||
select ARM_LPAE
|
||||
select COLLECT_TIMESTAMPS
|
||||
select HAS_PRECBMEM_TIMESTAMP_REGION
|
||||
select GENERIC_GPIO_LIB
|
||||
|
||||
if SOC_NVIDIA_TEGRA124
|
||||
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ config SOC_NVIDIA_TEGRA132
|
|||
select COLLECT_TIMESTAMPS
|
||||
select HAS_PRECBMEM_TIMESTAMP_REGION
|
||||
select CHROMEOS_RAMOOPS_NON_ACPI
|
||||
select GENERIC_GPIO_LIB
|
||||
|
||||
if SOC_NVIDIA_TEGRA132
|
||||
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ config SOC_QC_IPQ806X
|
|||
select HAVE_UART_MEMORY_MAPPED
|
||||
select HAVE_UART_SPECIAL
|
||||
select SPI_ATOMIC_SEQUENCING
|
||||
select GENERIC_GPIO_LIB
|
||||
|
||||
if SOC_QC_IPQ806X
|
||||
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@ config SOC_ROCKCHIP_RK3288
|
|||
select HAVE_UART_MEMORY_MAPPED
|
||||
select BOOTBLOCK_CONSOLE
|
||||
select HAS_PRECBMEM_TIMESTAMP_REGION
|
||||
select GENERIC_GPIO_LIB
|
||||
|
||||
if SOC_ROCKCHIP_RK3288
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue