mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-14 12:56:00 +01:00
gpio: 74x146: depend on DM_SPI
Currently, Kconfig allows building CONFIG_DM_74X164 without CONFIG_DM_SPI, which results in linker errors because this driver actually uses dm_spi_* functions: drivers/gpio/74x164_gpio.o: in function `gen_74x164_write_conf': undefined reference to `dm_spi_claim_bus' undefined reference to `dm_spi_xfer' undefined reference to `dm_spi_release_bus' Signed-off-by: J. Neuschäfer <j.ne@posteo.net>
This commit is contained in:
parent
78f8c8c58f
commit
b6f8da1c2e
@ -516,7 +516,7 @@ config ZYNQ_GPIO
|
|||||||
|
|
||||||
config DM_74X164
|
config DM_74X164
|
||||||
bool "74x164 serial-in/parallel-out 8-bits shift register"
|
bool "74x164 serial-in/parallel-out 8-bits shift register"
|
||||||
depends on DM_GPIO
|
depends on DM_GPIO && DM_SPI
|
||||||
help
|
help
|
||||||
Driver for 74x164 compatible serial-in/parallel-out 8-outputs
|
Driver for 74x164 compatible serial-in/parallel-out 8-outputs
|
||||||
shift registers, such as 74lv165, 74hc595.
|
shift registers, such as 74lv165, 74hc595.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user