mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-17 22:49:02 +00:00
arm: mvebu: turris_omnia: move I2C dependencies to Kconfig
The I2C dependencies are defined in include/configs/turris_omnia.h, because Turris Omnia won't boot correctly without I2C support. Move these dependencies to Kconfig, so that they are selected if Turris Omnia is selected as target. Signed-off-by: Marek Behún <marek.behun@nic.cz> Reviewed-by: Heiko Schocher <hs@denx.de> Reviewed-by: Stefan Roese <sr@denx.de> Signed-off-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
1743eedff5
commit
8420edcfda
2 changed files with 5 additions and 11 deletions
|
@ -116,6 +116,11 @@ config TARGET_DB_88F6820_AMC
|
|||
config TARGET_TURRIS_OMNIA
|
||||
bool "Support Turris Omnia"
|
||||
select 88F6820
|
||||
select DM_I2C
|
||||
select I2C_MUX
|
||||
select I2C_MUX_PCA954x
|
||||
select SPL_I2C_MUX
|
||||
select SYS_I2C_MVTWSI
|
||||
|
||||
config TARGET_TURRIS_MOX
|
||||
bool "Support Turris Mox"
|
||||
|
|
|
@ -18,17 +18,6 @@
|
|||
*/
|
||||
#define CONFIG_SYS_TCLK 250000000 /* 250MHz */
|
||||
|
||||
/*
|
||||
* Commands configuration
|
||||
*/
|
||||
|
||||
/* I2C support */
|
||||
#define CONFIG_DM_I2C
|
||||
#define CONFIG_I2C_MUX
|
||||
#define CONFIG_I2C_MUX_PCA954x
|
||||
#define CONFIG_SPL_I2C_MUX
|
||||
#define CONFIG_SYS_I2C_MVTWSI
|
||||
|
||||
/* USB/EHCI configuration */
|
||||
#define CONFIG_EHCI_IS_TDI
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue