]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Convert CONFIG_HAS_FSL_DR_USB to Kconfig
authorTom Rini <trini@konsulko.com>
Wed, 8 Jun 2022 12:24:28 +0000 (08:24 -0400)
committerTom Rini <trini@konsulko.com>
Tue, 28 Jun 2022 21:03:31 +0000 (17:03 -0400)
This converts the following to Kconfig:
   CONFIG_HAS_FSL_DR_USB

Signed-off-by: Tom Rini <trini@konsulko.com>
13 files changed:
board/freescale/common/Kconfig
board/freescale/p1_p2_rdb_pc/Kconfig
include/configs/MPC837XERDB.h
include/configs/P1010RDB.h
include/configs/P2041RDB.h
include/configs/T102xRDB.h
include/configs/T104xRDB.h
include/configs/T208xQDS.h
include/configs/T208xRDB.h
include/configs/T4240RDB.h
include/configs/corenet_ds.h
include/configs/ids8313.h
include/configs/p1_p2_rdb_pc.h

index b0e6e43f4fea00ea51bc4f5d0bc768cf28635573..195fc471a5b2a491a2ece467c3a1ae43cdfad531 100644 (file)
@@ -108,3 +108,7 @@ config QIXIS_I2C_ACCESS
        bool "Access to QIXIS is over i2c"
        depends on FSL_QIXIS
        default y
+
+config HAS_FSL_DR_USB
+       def_bool y
+       depends on USB_EHCI_HCD && PPC
index cd36150f63776f1b45e429b83ca85697db0f6851..db7b47a4635b9efcd6d5af49e09f983232e5ec64 100644 (file)
@@ -11,4 +11,6 @@ config SYS_VENDOR
 config SYS_CONFIG_NAME
        default "p1_p2_rdb_pc"
 
+source "board/freescale/common/Kconfig"
+
 endif
index 01e62668fa52d5034539c924ca67434b316b0c7a..4995bcee856d56058c7fe51de6b66864918b4c27 100644 (file)
  * Environment Configuration
  */
 
-#define CONFIG_HAS_FSL_DR_USB
-
 #define CONFIG_NETDEV          "eth1"
 
 #define CONFIG_HOSTNAME                "mpc837x_rdb"
index 3773b125327c3fe3e233dc5df4cfa5eaaaacebf1..d5b8cfaea397734edfdf052c2e605868b7c629cb 100644 (file)
@@ -490,8 +490,6 @@ extern unsigned long get_sdram_size(void);
 #define CONFIG_SYS_FSL_ESDHC_ADDR      CONFIG_SYS_MPC85xx_ESDHC_ADDR
 #endif
 
-#define CONFIG_HAS_FSL_DR_USB
-
 /*
  * Environment
  */
index dfe92bcea0996239be6810e15b938c6c10ff2e28..261e9872a7a1498af5fe2edc0be2a25440c384a4 100644 (file)
 /*
 * USB
 */
-#define CONFIG_HAS_FSL_DR_USB
 #define CONFIG_HAS_FSL_MPH_USB
 
 #ifdef CONFIG_MMC
index 43cf604fdd5c4bbc1aa90ca86fe7509dcf838485..b412438116df4b2d2d6fdd5be9068c4140c51669 100644 (file)
 /*
  * USB
  */
-#define CONFIG_HAS_FSL_DR_USB
 
 /*
  * SDHC
index da0a4f206ef539909ea40e799fcfe7a315e47921..bb05b2ed7c98922d834a8926ffad944e674e6af4 100644 (file)
 /*
 * USB
 */
-#define CONFIG_HAS_FSL_DR_USB
 
 #ifdef CONFIG_MMC
 #define CONFIG_SYS_FSL_ESDHC_ADDR       CONFIG_SYS_MPC85xx_ESDHC_ADDR
index dfe9192df128f047e7a6ee898b23e05fb4e7f914..e46488b3c0eddec78d9b0b2b0cdcb6e54dd25dc7 100644 (file)
 /*
  * USB
  */
-#ifdef CONFIG_USB_EHCI_HCD
-#define CONFIG_HAS_FSL_DR_USB
-#endif
 
 /*
  * SDHC
index a5a30d8c8555f563bbe79c63c9678d5960fb368e..d4bf938ac6f6d6a9aedce362903ae4df0ddb2408 100644 (file)
 /*
  * USB
  */
-#ifdef CONFIG_USB_EHCI_HCD
-#define CONFIG_HAS_FSL_DR_USB
-#endif
 
 /*
  * SDHC
index 7690bee484595513ac5a80f258aede63e6d25894..ebdd47edf952f359ee83e9c670f6d273a8116106 100644 (file)
 /*
 * USB
 */
-#define CONFIG_HAS_FSL_DR_USB
 
 #ifdef CONFIG_MMC
 #define CONFIG_SYS_FSL_ESDHC_ADDR       CONFIG_SYS_MPC85xx_ESDHC_ADDR
index 54e79b16d6539ae5b5647d9dcd436b9aef283cad..ce9e5117058295864ca77462b91aa30fa9f7486a 100644 (file)
 /*
 * USB
 */
-#define CONFIG_HAS_FSL_DR_USB
 #define CONFIG_HAS_FSL_MPH_USB
 
 #ifdef CONFIG_MMC
index 39a36779bc4ac8a782dfac36268720035532ae84..aa6a471cc2547da6b928ad5832ca5a5028ccb5d8 100644 (file)
 #define CONFIG_SYS_NS16550_COM2        (CONFIG_SYS_IMMR + 0x4600)
 #define CONFIG_SYS_NS16550_CLK         (get_bus_freq(0))
 
-#define CONFIG_HAS_FSL_DR_USB
 #define CONFIG_SYS_SCCR_USBDRCM        3
 
 /*
index 033f5b0c7b004f6e69792b60585b613be3b0be71..186a2568f80b4484e1be050216a5f6fe70fe848c 100644 (file)
 /*
  * USB
  */
-#define CONFIG_HAS_FSL_DR_USB
 
 #if defined(CONFIG_TARGET_P1020RDB_PD)
 #define CONFIG_USB_MAX_CONTROLLER_COUNT        1