mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-27 23:22:37 +02:00
Makefile: Fix dependencies for developerbox_spi
Note: This patch was backported from the master branch and it was modified so that it can be applied on the 1.1.x branch. The developerbox_spi programmer depends on bitbang SPI support. Thus, fix that. Signed-off-by: Felix Singer <felixsinger@posteo.net> Change-Id: Ic0fe589ffdccede0fbf6360c2bebe58a36654f10 Reviewed-on: https://review.coreboot.org/c/flashrom/+/66096 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Thomas Heijligen <src@posteo.de> Reviewed-on: https://review.coreboot.org/c/flashrom/+/68011
This commit is contained in:
parent
e8c548c850
commit
919277fc68
4
Makefile
4
Makefile
@ -735,12 +735,16 @@ else
|
|||||||
ifeq ($(CONFIG_OGP_SPI), yes)
|
ifeq ($(CONFIG_OGP_SPI), yes)
|
||||||
override CONFIG_BITBANG_SPI = yes
|
override CONFIG_BITBANG_SPI = yes
|
||||||
else
|
else
|
||||||
|
ifeq ($(CONFIG_DEVELOPERBOX_SPI), yes)
|
||||||
|
override CONFIG_BITBANG_SPI = yes
|
||||||
|
else
|
||||||
CONFIG_BITBANG_SPI ?= no
|
CONFIG_BITBANG_SPI ?= no
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Handle CONFIG_* variables that depend on others set (and verified) above.
|
# Handle CONFIG_* variables that depend on others set (and verified) above.
|
||||||
|
@ -622,7 +622,7 @@ enum spi_controller {
|
|||||||
#if CONFIG_DEDIPROG == 1
|
#if CONFIG_DEDIPROG == 1
|
||||||
SPI_CONTROLLER_DEDIPROG,
|
SPI_CONTROLLER_DEDIPROG,
|
||||||
#endif
|
#endif
|
||||||
#if CONFIG_OGP_SPI == 1 || CONFIG_NICINTEL_SPI == 1 || CONFIG_RAYER_SPI == 1 || CONFIG_PONY_SPI == 1 || (CONFIG_INTERNAL == 1 && (defined(__i386__) || defined(__x86_64__)))
|
#if CONFIG_OGP_SPI == 1 || CONFIG_NICINTEL_SPI == 1 || CONFIG_RAYER_SPI == 1 || CONFIG_PONY_SPI == 1 || CONFIG_DEVELOPERBOX_SPI == 1 || (CONFIG_INTERNAL == 1 && (defined(__i386__) || defined(__x86_64__)))
|
||||||
SPI_CONTROLLER_BITBANG,
|
SPI_CONTROLLER_BITBANG,
|
||||||
#endif
|
#endif
|
||||||
#if CONFIG_LINUX_MTD == 1
|
#if CONFIG_LINUX_MTD == 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user